From 469dea74d8991c507ea352bdd3754599ea38d2e3 Mon Sep 17 00:00:00 2001 From: Oleg Valter Date: Sat, 12 Oct 2024 10:43:09 +0300 Subject: [PATCH] made uwsgi Dockerfile configurable --- docker-compose.yml | 2 +- docker/compose-env | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 05916e6c4..5333ed6d9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,7 @@ services: restart: on-failure:3 build: context: "." - dockerfile: docker/Dockerfile + dockerfile: ${CLIENT_DOCKERFILE} depends_on: db: condition: service_healthy diff --git a/docker/compose-env b/docker/compose-env index 162e3169b..140d36f60 100644 --- a/docker/compose-env +++ b/docker/compose-env @@ -3,3 +3,4 @@ COMMUNITY_NAME=Dev Community RAILS_ENV=development CONFIRMABLE_ALLOWED_ACCESS_DAYS=2 ENV_FILE_LOCATION=./docker/env +CLIENT_DOCKERFILE=docker/Dockerfile