File tree 3 files changed +4
-6
lines changed
3 files changed +4
-6
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.
Original file line number Diff line number Diff line change @@ -41,10 +41,7 @@ const handlePackages = async (dir: string): Promise<void> => {
41
41
const pkgDir = join ( dir , pkg ) ;
42
42
const pkgJsonPath = join ( pkgDir , "package.json" ) ;
43
43
if ( existsSync ( pkgJsonPath ) ) {
44
- const ip = doInstall ( pkg , pkgDir ) ;
45
- if ( os . platform ( ) === "win32" ) {
46
- await ip ;
47
- }
44
+ const ip = await doInstall ( pkg , pkgDir ) ;
48
45
}
49
46
}
50
47
} ;
You can’t perform that action at this time.
0 commit comments