Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -11
Dockerfile
CHANGED
|
@@ -1,14 +1,5 @@
|
|
| 1 |
FROM ubuntu:latest
|
| 2 |
RUN apt-get update && apt-get install -y curl
|
| 3 |
|
| 4 |
-
RUN curl
|
| 5 |
-
|
| 6 |
-
RUN npm install -g n
|
| 7 |
-
RUN n 16
|
| 8 |
-
RUN node -v
|
| 9 |
-
|
| 10 |
-
RUN npm install --global code-server --unsafe-perm -y
|
| 11 |
-
|
| 12 |
-
EXPOSE 7860
|
| 13 |
-
|
| 14 |
-
CMD ["code-server", "--bind-addr", "0.0.0.0:7860"]
|
|
|
|
| 1 |
FROM ubuntu:latest
|
| 2 |
RUN apt-get update && apt-get install -y curl
|
| 3 |
|
| 4 |
+
RUN curl https://get.modular.com | \ MODULAR_AUTH=mut_e87f7861fb9a4d4aa311afb0491b0398 \ sh -
|
| 5 |
+
CMD ["modular", "install", "mojo"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|