Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -4,14 +4,14 @@
|
|
4 |
# If you need more help, visit the Dockerfile reference guide at
|
5 |
# https://docs.docker.com/engine/reference/builder/
|
6 |
|
7 |
-
ARG PYTHON_VERSION=3.
|
8 |
FROM python:${PYTHON_VERSION}-slim as base
|
9 |
|
10 |
# Copy the requirements file into the container.
|
11 |
COPY requirements.txt .
|
12 |
|
13 |
# Install the dependencies from the requirements file.
|
14 |
-
RUN
|
15 |
|
16 |
# Prevents Python from writing pyc files.
|
17 |
ENV PYTHONDONTWRITEBYTECODE=1
|
|
|
4 |
# If you need more help, visit the Dockerfile reference guide at
|
5 |
# https://docs.docker.com/engine/reference/builder/
|
6 |
|
7 |
+
ARG PYTHON_VERSION=3.10
|
8 |
FROM python:${PYTHON_VERSION}-slim as base
|
9 |
|
10 |
# Copy the requirements file into the container.
|
11 |
COPY requirements.txt .
|
12 |
|
13 |
# Install the dependencies from the requirements file.
|
14 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
15 |
|
16 |
# Prevents Python from writing pyc files.
|
17 |
ENV PYTHONDONTWRITEBYTECODE=1
|