Spaces:
Paused
Paused
koji
commited on
Commit
·
4e1c951
1
Parent(s):
d847b17
update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
|
@@ -1,12 +1,7 @@
|
|
| 1 |
FROM ubuntu
|
| 2 |
ENV TZ=Etc/UTC
|
| 3 |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
| 4 |
-
RUN apt-get update && apt-get install --yes python3 pip pkg-config libsystemd-dev
|
| 5 |
-
|
| 6 |
-
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.7
|
| 7 |
-
|
| 8 |
-
# Set python3.7 as the default python
|
| 9 |
-
RUN update-alternatives --set python /usr/bin/python3.7
|
| 10 |
|
| 11 |
# Set the working directory in the container to /app
|
| 12 |
WORKDIR /app
|
|
|
|
| 1 |
FROM ubuntu
|
| 2 |
ENV TZ=Etc/UTC
|
| 3 |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
| 4 |
+
RUN apt-get update && apt-get install --yes python3.7.15 pip pkg-config libsystemd-dev
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
# Set the working directory in the container to /app
|
| 7 |
WORKDIR /app
|