Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
FROM python:3.11
|
| 2 |
-
|
| 3 |
RUN mkdir /public
|
| 4 |
RUN chmod 777 /public
|
| 5 |
|
|
@@ -10,7 +10,7 @@ ENV HOME=/public
|
|
| 10 |
|
| 11 |
RUN chmod 777 -R /public
|
| 12 |
RUN apt-get update
|
| 13 |
-
RUN apt-get install wget curl zip nodejs npm -y
|
| 14 |
RUN wget https://raw.githubusercontent.com/coder/code-server/refs/heads/main/install.sh
|
| 15 |
RUN bash install.sh
|
| 16 |
RUN chmod 777 -R /public
|
|
|
|
| 1 |
+
#FROM python:3.11
|
| 2 |
+
FROM nikolaik/python-nodejs:python3.10-nodejs18
|
| 3 |
RUN mkdir /public
|
| 4 |
RUN chmod 777 /public
|
| 5 |
|
|
|
|
| 10 |
|
| 11 |
RUN chmod 777 -R /public
|
| 12 |
RUN apt-get update
|
| 13 |
+
RUN apt-get install wget curl zip nodejs npm openjdk-17-jdk -y
|
| 14 |
RUN wget https://raw.githubusercontent.com/coder/code-server/refs/heads/main/install.sh
|
| 15 |
RUN bash install.sh
|
| 16 |
RUN chmod 777 -R /public
|