Update Dockerfile
Browse files- 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"]
|