diff --git a/codeserver/ubi9-python-3.9/Dockerfile b/codeserver/ubi9-python-3.9/Dockerfile index d75c89ec9..d4df5f3b1 100644 --- a/codeserver/ubi9-python-3.9/Dockerfile +++ b/codeserver/ubi9-python-3.9/Dockerfile @@ -81,9 +81,11 @@ COPY nginx/api/ /opt/app-root/api/ COPY utils utils/ COPY run-code-server.sh run-nginx.sh ./ +WORKDIR /opt/app-root/src + ENV SHELL /bin/bash -WORKDIR /opt/app-root/src +WORKDIR /opt/app-root/workspace USER 1001 diff --git a/codeserver/ubi9-python-3.9/run-code-server.sh b/codeserver/ubi9-python-3.9/run-code-server.sh index 6f69f1d76..7519883a9 100755 --- a/codeserver/ubi9-python-3.9/run-code-server.sh +++ b/codeserver/ubi9-python-3.9/run-code-server.sh @@ -22,4 +22,4 @@ start_process /usr/bin/code-server \ --disable-telemetry \ --auth none \ --disable-update-check \ - /opt/app-root/src + /opt/app-root/workspace