use upstream Docker images over self-built

This commit is contained in:
Christian Winther 2024-01-05 23:41:33 +00:00
parent a25b7910b2
commit a8c5585e19

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: