sugarfreez commited on
Commit
27dd678
·
1 Parent(s): d1327a0

fix(nyz): fix path bug

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -6
Dockerfile CHANGED
@@ -63,13 +63,8 @@ ENV HOME=/home/user \
63
 
64
  WORKDIR $HOME/workspace
65
 
66
- ADD --chown=user start_server.sh start_server.sh
67
-
68
- RUN cd $HOME/workspace \
69
- && chmod 777 start_server.sh
70
-
71
  EXPOSE 7860
72
  EXPOSE 5000
73
  EXPOSE 5002
74
 
75
- CMD sh ./start_server.sh
 
63
 
64
  WORKDIR $HOME/workspace
65
 
 
 
 
 
 
66
  EXPOSE 7860
67
  EXPOSE 5000
68
  EXPOSE 5002
69
 
70
+ CMD exec "/app/openvscode-server/bin/openvscode-server --host 0.0.0.0 --port 7860 --without-connection-token \"${@}\" --"