diff --git a/Dockerfile b/Dockerfile index 4f8bceb..58208d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,13 @@ FROM python:3.12-slim # Everything will be done in /app (Not in the main OS Image) WORKDIR /app -COPY . . + +COPY requirements.txt . + RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + RUN chmod +x ./entrypoint.sh ENV FLASK_APP=app.py