Реализовл подгрузку .env через docker-compose
This commit is contained in:
parent
2c501cb59e
commit
ab67698655
|
@ -11,6 +11,4 @@ RUN python -m pip install --no-cache-dir --upgrade pip \
|
|||
|
||||
COPY /src .
|
||||
|
||||
COPY .env .
|
||||
|
||||
CMD ["python", "main.py"]
|
|
@ -3,4 +3,6 @@ services:
|
|||
etl:
|
||||
build: .
|
||||
container_name: etl
|
||||
restart: always
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
Loading…
Reference in New Issue
Block a user