Skip to content

Commit e015b13

Browse files
authored
Create workspace and start VSCode in workspace
1 parent e9f40d4 commit e015b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ USER seluser
6464
EXPOSE 8080
6565
WORKDIR /home/seluser
6666

67-
RUN /usr/local/bin/code-server --install-extension getgauge.gauge
67+
RUN mkdir -p /home/seluser/workspace && /usr/local/bin/code-server --install-extension getgauge.gauge
6868

69-
ENTRYPOINT ["dumb-init", "fixuid", "-q", "/usr/local/bin/code-server", "--host", "0.0.0.0", "."]
69+
ENTRYPOINT ["dumb-init", "fixuid", "-q", "/usr/local/bin/code-server", "--host", "0.0.0.0", "/home/seluser/workspace"]

0 commit comments

Comments
 (0)