File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 1- FROM us-central1-docker.pkg.dev/genuine-flight-317411/devel/base/python3. 12-dev as builder
1+ FROM python:3. 12-slim as builder
22
33ENV LANG=C.UTF-8
44ENV PYTHONDONTWRITEBYTECODE=1
@@ -8,11 +8,19 @@ ENV PATH="/app/venv/bin:$PATH"
88WORKDIR /app/
99
1010RUN python -m venv /app/venv
11+
12+ RUN apt-get update \
13+ # required for psutil python package to install
14+ && apt-get install -y gcc \
15+ && dpkg --add-architecture arm64 \
16+ && apt-get purge -y --auto-remove \
17+ && rm -rf /var/lib/apt/lists/*
18+
1119COPY requirements.txt /app/requirements.txt
1220
1321RUN pip install --no-cache-dir -r /app/requirements.txt
1422
15- FROM us-central1-docker.pkg.dev/genuine-flight-317411/devel/base/python3.12
23+ FROM python:3.12-slim
1624
1725WORKDIR /app/
1826
You can’t perform that action at this time.
0 commit comments