2024-10-10 20:08:07 +02:00
|
|
|
FROM python:3.12-alpine
|
2024-10-14 19:21:57 +02:00
|
|
|
COPY . /app
|
2024-10-10 20:08:07 +02:00
|
|
|
WORKDIR /app
|
|
|
|
RUN pip install -r requirements.txt
|
2024-10-14 19:58:24 +02:00
|
|
|
ENV FLASK_THERAPY_SECRET=${FLASK_THERAPY_SECRET}
|
2024-10-10 20:08:07 +02:00
|
|
|
EXPOSE 5000
|
|
|
|
ENTRYPOINT ["gunicorn", "--config", "gunicorn_config.py", "app:app"]
|