comment build steps out to use remote image

This commit is contained in:
Christian Winther 2024-01-05 17:31:34 +00:00
parent d876533991
commit 2e2ffc5519
1 changed files with 8 additions and 8 deletions

View File

@ -4,10 +4,10 @@ version: "3"
services:
web:
image: "${DOCKER_IMAGE}:${DOCKER_TAG}"
build:
context: ../..
dockerfile: contrib/docker/Dockerfile
target: apache-runtime
# build:
# context: ../..
# dockerfile: contrib/docker/Dockerfile
# target: apache-runtime
restart: unless-stopped
env_file:
- "./.env"
@ -23,10 +23,10 @@ services:
worker:
image: "${DOCKER_IMAGE}:${DOCKER_TAG}"
build:
context: ../..
dockerfile: contrib/docker/Dockerfile
target: apache-runtime
# build:
# context: ../..
# dockerfile: contrib/docker/Dockerfile
# target: apache-runtime
command: gosu www-data php artisan horizon
restart: unless-stopped
env_file: