Skip to content
Snippets Groups Projects
Commit 589e2aa0 authored by Subhashis Suara's avatar Subhashis Suara
Browse files

Fix Launching of Terminal in code-server

parent a3641831
Branches
No related tags found
1 merge request!143Draft: Add remote dev with php 8
Pipeline #4375921 failed
......@@ -28,8 +28,12 @@ RUN echo $'bind-addr: 0.0.0.0:8888\ncert: false\nauth: none\ndisable-telemetry:
# https://coder.com/docs/code-server/latest/FAQ#how-does-the-config-file-work
ENV CODE_SERVER_CONFIG=$XDG_DATA_HOME/.config/code-server/config.yaml
# Set default shell for code-server
# https://stackoverflow.com/questions/72896811/how-to-fix-the-terminal-process-usr-sbin-nologin-failed-to-launch-exit-code/72897273
ENV SHELL /bin/bash
# Expose the code-server port
EXPOSE 8888
# Run code-server and open /app folder (Overridden by deployment command)
CMD ["/bin/bash", "-c", "code-server /app"]
CMD ["/bin/bash", "-c", "code-server /app"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment