File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -28,5 +28,6 @@ RUN apt-get install -y locales && \
28
28
# We unfortunately cannot use update-locale because docker will not use the env variables
29
29
# configured in /etc/default/locale so we need to set it manually.
30
30
ENV LANG=en_US.UTF-8
31
- # Unfortunately `.` does not work with code-server.
31
+ ENTRYPOINT code-server
32
+ # Unfortunately `.` does not work with code-server so we use shell form.
32
33
CMD code-server $PWD
Original file line number Diff line number Diff line change 9
9
10
10
Try it out:
11
11
``` bash
12
- docker run -p 127.0.0.1:8443:8443 -v " ${PWD} :/root/project" codercom/ code-server code-server --allow-http --no-auth
12
+ docker run -p 127.0.0.1:8443:8443 -v " ${PWD} :/root/project" -v ~ /. code-server:/root/.code-server codercom/ code-server --allow-http --no-auth
13
13
```
14
14
15
15
- Code on your Chromebook, tablet, and laptop with a consistent dev environment.
You can’t perform that action at this time.
0 commit comments