added env file
parent
3a77feb7aa
commit
1c4e49e36c
|
@ -4,6 +4,7 @@ FROM python:3.10
|
|||
# Set environment variables
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
ENV DEBUG=${DEBUG}
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /app
|
||||
|
|
|
@ -8,9 +8,9 @@ services:
|
|||
- .:/app
|
||||
- ./media:/app/media
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "${PORT}:8000"
|
||||
environment:
|
||||
- DEBUG=1
|
||||
- DEBUG=${DEBUG}
|
||||
|
||||
volumes:
|
||||
media:
|
Loading…
Reference in New Issue