Refactor the production Docker image

This commit is contained in:
Oliver Davies 2021-07-03 23:00:45 +01:00
parent 54507c2d74
commit 1e66df30a1
6 changed files with 27 additions and 33 deletions

View file

@ -2,7 +2,10 @@ version: '2.4'
services:
app:
image: opdavies/sculpin-serve
build:
context: .
dockerfile: tools/docker/images/Dockerfile
target: app
volumes:
- assets:/app/source/build
- /app/output_dev
@ -11,9 +14,7 @@ services:
- 8000:8000
assets:
build:
context: .
dockerfile: tools/docker/images/node/Dockerfile
image: node:14
volumes:
- assets:/node/source/build
- /node/node_modules