version: '3.8' services: nginx: image: daniel-website/nginx:dev build: context: ./docker/nginx ports: - 127.0.0.1:8080:80 volumes: - ./build:/var/www/html webpack: image: daniel-website/webpack:dev build: context: ./docker/webpack volumes: - ./src:/code/src - ./build:/code/build - ./node_modules:/code/node_modules - ./package.json:/code/package.json - ./package-lock.json:/code/package-lock.json - ./webpack.config.js:/code/webpack.config.js tty: true