Spaces:
Sleeping
Sleeping
hf4all
commited on
Commit
•
4847926
1
Parent(s):
e8c6c90
Update Dockerfile
Browse files- Dockerfile +7 -10
Dockerfile
CHANGED
@@ -60,22 +60,19 @@ RUN \
|
|
60 |
"https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-v${CODE_RELEASE}/openvscode-server-v${CODE_RELEASE}-linux-x64.tar.gz" && \
|
61 |
tar xf \
|
62 |
/tmp/openvscode-server.tar.gz -C \
|
63 |
-
/app/openvscode-server/ --strip-components=1
|
64 |
-
|
|
|
|
|
|
|
|
|
|
|
65 |
apt-get clean && \
|
66 |
rm -rf \
|
67 |
/tmp/* \
|
68 |
/var/lib/apt/lists/* \
|
69 |
/var/tmp/*
|
70 |
|
71 |
-
RUN add-apt-repository ppa:flexiondotorg/nvtop && \
|
72 |
-
apt-get upgrade -y && \
|
73 |
-
apt-get install -y --no-install-recommends nvtop
|
74 |
-
|
75 |
-
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
|
76 |
-
apt-get install -y nodejs && \
|
77 |
-
npm install -g configurable-http-proxy
|
78 |
-
|
79 |
# Create a working directory
|
80 |
WORKDIR /app
|
81 |
|
|
|
60 |
"https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-v${CODE_RELEASE}/openvscode-server-v${CODE_RELEASE}-linux-x64.tar.gz" && \
|
61 |
tar xf \
|
62 |
/tmp/openvscode-server.tar.gz -C \
|
63 |
+
/app/openvscode-server/ --strip-components=1
|
64 |
+
|
65 |
+
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
|
66 |
+
apt-get install -y nodejs && \
|
67 |
+
npm install -g configurable-http-proxy
|
68 |
+
|
69 |
+
RUN echo "**** clean up ****" && \
|
70 |
apt-get clean && \
|
71 |
rm -rf \
|
72 |
/tmp/* \
|
73 |
/var/lib/apt/lists/* \
|
74 |
/var/tmp/*
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
# Create a working directory
|
77 |
WORKDIR /app
|
78 |
|