Ramczy commited on
Commit
3a2ee3a
·
verified ·
1 Parent(s): 0dcb97f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -6
Dockerfile CHANGED
@@ -7,8 +7,9 @@ RUN apt-get install -y curl python3.11 python3-pip libmagic1 speedtest-cli neofe
7
 
8
  RUN apt-get install -y \
9
  software-properties-common \
10
- npm
11
-
 
12
  RUN npm install n -g
13
  RUN n 20
14
  RUN npm install npm@latest -g
@@ -23,12 +24,10 @@ RUN curl -fsSL https://code-server.dev/install.sh | sh
23
 
24
  USER ramm
25
  ENV HOME=/home/ramm \
26
- PATH=/home/ramm/.local/bin:$PATH
27
-
28
-
29
 
30
  WORKDIR $HOME
31
 
32
  COPY --chown=ramm . $HOME/server
33
 
34
- CMD ["code-server", ".", "--bind-addr", "0.0.0.0:7860", "--auth", "none"]
 
7
 
8
  RUN apt-get install -y \
9
  software-properties-common \
10
+ npm \
11
+ golang-go # Menambahkan Golang
12
+
13
  RUN npm install n -g
14
  RUN n 20
15
  RUN npm install npm@latest -g
 
24
 
25
  USER ramm
26
  ENV HOME=/home/ramm \
27
+ PATH=/home/ramm/.local/bin:$PATH
 
 
28
 
29
  WORKDIR $HOME
30
 
31
  COPY --chown=ramm . $HOME/server
32
 
33
+ CMD ["code-server", ".", "--bind-addr", "0.0.0.0:7860", "--auth", "none"]