SoUmNerd commited on
Commit
03eb6bc
·
1 Parent(s): 63dc4ab

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 -fsSL https://deb.nodesource.com/setup_16.0.0 | bash -
5
- RUN apt-get install -y nodejs && apt-get install -y npm
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"]