Files
board-mate/api-customer/Dockerfile
2026-01-01 15:40:46 +01:00

16 lines
233 B
Docker

FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
ENV FLASK_APP=app.py
ENV FLASK_RUN_HOST=0.0.0.0
ENV FLASK_RUN_PORT=5000
EXPOSE 5000
CMD ["python", "app.py"]