mirror of
https://github.com/StefBuwalda/cal_counter.git
synced 2025-10-29 10:50:00 +00:00
18 lines
275 B
Docker
18 lines
275 B
Docker
FROM python:3.12-slim
|
|
|
|
# Everything will be done in /app (Not in the main OS Image)
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
RUN chmod +x ./entrypoint.sh
|
|
|
|
ENV FLASK_APP=app.py
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|
|
CMD []
|