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