Spaces:
Sleeping
Sleeping
Huiran Yu commited on
Commit ·
033f1b6
1
Parent(s): 865506a
Switch back to 3.10
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM python:3.
|
| 2 |
|
| 3 |
# System deps for building packages from source
|
| 4 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
@@ -19,7 +19,7 @@ ENV PIP_NO_BUILD_ISOLATION=1
|
|
| 19 |
RUN pip install --no-cache-dir -U pip wheel Cython
|
| 20 |
RUN pip install --no-cache-dir setuptools==80.9.0
|
| 21 |
RUN pip install --no-cache-dir -r /app/requirements.txt
|
| 22 |
-
RUN pip install --no-cache-dir --no-build-isolation madmom
|
| 23 |
|
| 24 |
RUN python -c "import setuptools, pkg_resources; print('setuptools OK')"
|
| 25 |
|
|
|
|
| 1 |
+
FROM python:3.10-slim
|
| 2 |
|
| 3 |
# System deps for building packages from source
|
| 4 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
| 19 |
RUN pip install --no-cache-dir -U pip wheel Cython
|
| 20 |
RUN pip install --no-cache-dir setuptools==80.9.0
|
| 21 |
RUN pip install --no-cache-dir -r /app/requirements.txt
|
| 22 |
+
RUN pip install --no-cache-dir --no-build-isolation madmom
|
| 23 |
|
| 24 |
RUN python -c "import setuptools, pkg_resources; print('setuptools OK')"
|
| 25 |
|