Skip to content

Commit

Permalink
ci: Disable cache dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ronisaha committed Feb 19, 2024
1 parent a2f5061 commit 5823cf2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM python:slim-bullseye AS builder
FROM python:3.12-slim-bullseye AS builder
RUN apt-get update && \
apt-get install --no-install-suggests --no-install-recommends --yes python3-venv gcc libpython3-dev gtk+3.0 && \
python3 -m venv /venv && \
/venv/bin/pip install --upgrade pip
/venv/bin/pip install --upgrade pip --no-cache-dir

FROM builder AS builder-venv
COPY requirements.txt /requirements.txt
RUN /venv/bin/pip install --disable-pip-version-check -r /requirements.txt
RUN /venv/bin/pip install --disable-pip-version-check --no-cache-dir -r /requirements.txt

FROM python:slim-bullseye AS runner
RUN apt-get update && \
Expand Down

0 comments on commit 5823cf2

Please sign in to comment.