atonyxu commited on
Commit
3868279
·
verified ·
1 Parent(s): 8b41425

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -105,5 +105,7 @@ ENV PYTHONUNBUFFERED=1 \
105
  # Expose the port on which code-server will run
106
  EXPOSE 8080
107
 
 
 
108
  # Run code-server
109
- CMD ["code-server /data", "--bind-addr", "0.0.0.0:8080", "--auth", "password"]
 
105
  # Expose the port on which code-server will run
106
  EXPOSE 8080
107
 
108
+ WORKDIR /data
109
+ echo "kill -SIGTERM 1" >/data/stop.sh
110
  # Run code-server
111
+ CMD ["code-server /data", "--bind-addr", "0.0.0.0:8080", "--auth", "password", "--locale", "zh-CN"]