Unverified Commit db92298a authored by TheTechRobo's avatar TheTechRobo Committed by GitHub
Browse files

Make dockerfile more cachable

parent aeadf010
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@ FROM python:3.10-slim-bullseye
RUN pip install --no-cache-dir gunicorn flask[async]
RUN apt install -y openssl

COPY . /app
EXPOSE 8000
WORKDIR /app
RUN pip install -r REQUIREMENTS.txt
COPY . /app
WORKDIR /app
ENTRYPOINT ["gunicorn", "-b", "0.0.0.0:8000", "--config", "gunicorn.conf", "app:app"]