Files
code-server/Dockerfile
2021-03-01 23:28:37 -05:00

16 lines
385 B
Docker

FROM codercom/code-server:latest
USER coder
# Apply VS Code settings
COPY settings.json .local/share/code-server/User/settings.json
# Use bash shell
ENV SHELL=/bin/bash
# Fix permissions
RUN sudo chown -R coder:coder /home/coder/.local
# Use our custom entrypoint script first
COPY railway-entrypoint.sh /usr/bin/railway-entrypoint.sh
ENTRYPOINT ["/usr/bin/railway-entrypoint.sh"]