point-median-frontend/Dockerfile
2024-12-30 22:36:06 -05:00

23 lines
No EOL
447 B
Docker

FROM python:3.13-slim-bookworm
EXPOSE 5000
WORKDIR /app
# Install the app's dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt
# Copy the app's code
COPY config.py ./
COPY app.py ./
COPY ressources ./ressources
COPY templates ./templates
COPY static ./static
# Set the environment variable for Flask
ENV FLASK_APP=app.py
ENV FLASK_RUN_HOST=0.0.0.0
# Set the entrypoint to run the app
CMD ["flask", "run", "--port=5000"]