Heroku is a managed app hosting platform.
Launch code-server on Heroku to get on-demand dev environments that turn off when you don't need them! 💵
App name
: The URL and you can access code-server with
PASSWORD
: A password you can use to log in
GIT_REPO
: The HTTPS URL of a git repo you'd like to use in code-server. (optional)
After it has built, you can access it by pressing "View" or "Open app."
Press the button in the top right of the repo, or or click to use this template.
-
In Heroku, navigate to `Deploy -> Deployment Method"
-
Link it with the GitHub repo you just created.
-
Open the repo in GitHub and edit the
Dockerfile
-
Add some custom tools (like NodeJS) and commit to the main branch:
# 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
-
Head back to Heroku and notice a new deployment has started. After it has completed, you can use these tools in your environment.
-
(Optional): Configure rclone so that you can save your VS Code config and files without commiting