Refactor the production Docker image
This commit is contained in:
parent
54507c2d74
commit
1e66df30a1
6 changed files with 27 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue