From ab67698655a499f2370ec4f41af459981f970df1 Mon Sep 17 00:00:00 2001 From: jsdio Date: Tue, 6 Jun 2023 14:40:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7=D0=BE?= =?UTF-8?q?=D0=B2=D0=BB=20=D0=BF=D0=BE=D0=B4=D0=B3=D1=80=D1=83=D0=B7=D0=BA?= =?UTF-8?q?=D1=83=20.env=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20docker-compose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 -- docker-compose.yml | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b87905e..6d78130 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,4 @@ RUN python -m pip install --no-cache-dir --upgrade pip \ COPY /src . -COPY .env . - CMD ["python", "main.py"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 2e130b8..b17d4b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,4 +3,6 @@ services: etl: build: . container_name: etl - restart: always \ No newline at end of file + restart: always + env_file: + - .env \ No newline at end of file