FROM python:3.12-alpine
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENV FLASK_THERAPY_SECRET=${FLASK_THERAPY_SECRET}
EXPOSE 5000
ENTRYPOINT ["gunicorn", "--config", "gunicorn_config.py", "app:app"]