build(docker): build with Docker Compose

This commit is contained in:
Oliver Davies 2022-01-26 08:50:06 +00:00
parent 3e97877c4c
commit a06b229755
2 changed files with 9 additions and 8 deletions

View file

@ -3,6 +3,7 @@ services:
build:
context: .
target: build
image: "ghcr.io/opdavies/oliverdavies.uk-web:${DOCKER_TAG:-latest}"
command: "sculpin generate --clean --port ${SCULPIN_PORT:-80} --url ${SCULPIN_URL:-http://localhost} --env ${SCULPIN_ENV:-dev} ${SCULPIN_GENERATE_ARGS}"
volumes:
- .:/app