2026-07-12 20:22:15 +01:00

18 lines
288 B
Docker
Executable File

FROM python:3.9-slim
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 80
ENV PORT=80
ENV FLASK_APP=app.py
ENV FLASK_ENV=development
# Copy entrypoint script
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]