diff --git a/.env b/.env index 881d49c4db..6b4abcda08 100644 --- a/.env +++ b/.env @@ -21,6 +21,7 @@ REDIS_IMAGE=redis # App image name for use if you inted to push it to docker registry/hub. APP_PROD_IMAGE=my-ez-app +APP_DOCKER_FILE=Dockerfile # Install config INSTALL_EZ_INSTALL_TYPE=clean diff --git a/doc/docker-compose/base-prod.yml b/doc/docker-compose/base-prod.yml index 8981c4a01e..7340ed9135 100644 --- a/doc/docker-compose/base-prod.yml +++ b/doc/docker-compose/base-prod.yml @@ -3,7 +3,9 @@ version: '2' services: app: - build: ../../ + build: + context: ../../ + dockerfile: ${APP_DOCKER_FILE} image: ${APP_PROD_IMAGE} depends_on: - db