We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09a7723 commit 4cc2ac6Copy full SHA for 4cc2ac6
devops/tilt/Dockerfile
@@ -1,14 +1,18 @@
1
# syntax=docker/dockerfile:1.5
2
-FROM python:3.10.10-slim-buster
+
3
+ARG PYTHON_VER=${PYTHON_VER:-3.10.10}
4
5
+FROM python:${PYTHON_VER}-slim-buster
6
7
ENV PYTHONDONTWRITEBYTECODE=1
8
ENV PYTHONUNBUFFERED=1
9
10
WORKDIR /app
11
12
COPY requirements.txt .
-RUN pip install --upgrade pip \
- && pip install -r requirements.txt
13
14
+RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
15
16
COPY . .
17
18
ENTRYPOINT ["python", "/app/app.py"]
0 commit comments