Skip to content

Commit 2a31f4e

Browse files
committed
slight refactor
1 parent 647cbb7 commit 2a31f4e

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

β€Ž.github/workflows/to-docker-hub.yml

+1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ jobs:
2222
with:
2323
push: true
2424
tags: bencdr/code-server-deploy-container:latest
25+
file: deploy-container/Dockerfile
2526
- name: Image digest
2627
run: echo ${{ steps.docker_build.outputs.digest }}

β€ŽDockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Start with our deploy-container image (Debian)
2+
FROM bencdr/deploy-container:latest
3+
4+
USER coder
5+
6+
# You can add custom software and dependencies for your environment here. Some examples:
7+
8+
# RUN code-server --install-extension esbenp.prettier-vscode
9+
# RUN sudo apt-get install -y build-essential
10+
# RUN COPY myTool /home/coder/myTool

β€ŽREADME.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# deploy-code-server
1+
# deploy-code-server πŸš€
22

3-
A collection of one-click buttons and tutorials for deploying code-server to various cloud hosting platforms. The fastest way to get a code-server environment! ☁️
3+
A collection of one-click buttons and scripts for deploying code-server to various cloud hosting platforms. The fastest way to get a code-server environment! ☁️
44

55
| Platform | Type | Cheapest Plan | Deploy |
66
| ----------------- | ---------------- | ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
77
| DigitalOcean | VM | $5/mo, 1 CPU, 1 GB RAM | Test |
88
| Vultr | VM | $5/mo, 1 CPU, 1 GB RAM | Test |
99
| Linode | VM | $3.50/mo, 1 CPU, 512 MB RAM | Test |
1010
| Railway | Deploy Container | Free, specs unknown, but very fast πŸš€ | [![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new?template=https%3A%2F%2Fgithub.com%2Fbpmct%2Fcode-server-railway&envs=PASSWORD%2CGIT_REPO&PASSWORDDesc=Your+password+to+log+in+to+code-server+with&GIT_REPODesc=A+git+repo+to+clone+and+open+in+code-server+%28ex.+https%3A%2F%2Fgithub.com%2Fcdr%2Fdocs.git%29) |
11-
| |
11+
| |
1212
| Heroku | Deploy Container | Free, 1 CPU, 512 MB RAM | [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) |
1313
| |
14-
| Azure App Service | Deploy Container | Free, 1 CPU, 1 GB RAM | Test |
14+
| Azure App Service | Deploy Container | Free, 1 CPU, 1 GB RAM | [see guide](https://github.com/bencdr/code-server-azure) |
1515

1616
---
1717

@@ -21,7 +21,9 @@ A collection of one-click buttons and tutorials for deploying code-server to var
2121
- You need to save "snapshots" to use your latest images
2222
- Storage is always persistent, and you can usually add extra volumes
2323
- VMs can support many workloads, such as running Docker or Kubernetes clusters
24+
- [πŸ‘€ Preview the VM install script](vm-script/)
2425
- App Platforms deploy code-server containers, and are often rebuilt
2526
- App platforms can shut down when you are not using it, saving you money
2627
- All software and dependencies need to be defined in the `Dockerfile` or install script so they aren't destroyed on a rebuild
2728
- Storage may not be redundant. You may have to use [rclone](https://rclone.org/) to store your filesystem on a cloud service
29+
- [πŸ“„ Docs for code-server-deploy-container](deploy-container/)

β€Žheroku.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
build:
22
docker:
3-
web: deploy-container/Dockerfile
3+
web: Dockerfile

0 commit comments

Comments
Β (0)