Comments (4)
- Persist extensions
Basically, add commands in your Dockerfile such as
# IMPORTANT: Make sure to put any install commands after this one
# Fix permissions for code-server
RUN sudo chown -R coder:coder /home/coder/.local
# Seperate lines
RUN code-server --install-extension esbenp.prettier-vscode
RUN code-server --install-extension foo.bar
# One command
RUN code-server --install-extension esbenp.prettier-vscode --install-extension foo.bar
from deploy-code-server.
You can add more Docker commands into the Dockerfile to install additional software like so:
# You can add custom software and dependencies for your environment here. Some examples:
# RUN code-server --install-extension esbenp.prettier-vscode
# RUN sudo apt-get install -y build-essential
# RUN COPY myTool /home/coder/myTool
# Install NodeJS
RUN sudo curl -fsSL https://deb.nodesource.com/setup_15.x | sudo bash -
RUN sudo apt-get install -y nodejs
Taken from https://github.com/cdr/deploy-code-server/blob/main/guides/railway.md.
For pip search 'Install pip in docker' on google for guidance
from deploy-code-server.
Ah, ok, thank you. Sorry.
from deploy-code-server.
One more question, is there a way to keep all extensions installed and any code or repositories, to not be deleted when updating to a new version through remote? Also, is there any way I can get a PHP site to work as an HTML site, through Dockerfile? Thank you so much!
from deploy-code-server.
Related Issues (20)
- Terraform script: OCI Free tier support for A1.Flex images
- Dockerfile permission denied entrypoint.sh
- Error On Oracle Cloud HOT 1
- Code Sever
- Unable to locate package ubuntu-make
- site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx HOT 1
- Railway.md link not valid HOT 1
- fly.io
- print("Hello") HOT 1
- Coder fixed listening 8080
- Coder-Server can't connect because of this Error HOT 1
- "Extension 'actboy168.tasks' not found." with codercom/code-server:4.0.2 HOT 4
- Can't install node modules HOT 3
- Error on Heroku HOT 5
- Support for okteto deployment.
- Want Koyeb cloud support HOT 1
- Error while fetching extensions, server returned 503
- add fly.io guide HOT 5
- pls add render .com support
- Template is not an available Railway plugin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deploy-code-server.