Spaces:
Paused
Paused
Commit
·
1f55c7d
1
Parent(s):
55f8d2f
Update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
|
@@ -1,12 +1,7 @@
|
|
| 1 |
-
FROM
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
-
RUN apt-get update && \
|
| 6 |
-
apt-get install -y python3 python3-pip
|
| 7 |
-
|
| 8 |
-
RUN apt-get install -y git-all
|
| 9 |
-
|
| 10 |
COPY ./requirements.txt /code/requirements.txt
|
| 11 |
|
| 12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
|
| 1 |
+
FROM python:3.10.12
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
|
| 7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|