9 lines
222 B
Docker
Executable File
9 lines
222 B
Docker
Executable File
FROM python:3.9-slim
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY . .
|
|
ENV SECRET_KEY=super-secret
|
|
ENV API_URL=http://backend:5000
|
|
EXPOSE 8000
|
|
CMD ["python", "app.py"] |