Add Google Cloud quick-launch button (#1069)

This commit is contained in:
Ayane Satomi 2019-10-25 05:07:44 +08:00 committed by Asher
parent 95693fb58e
commit 9c40466b4b
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@ Try it out:
```bash ```bash
docker run -it -p 127.0.0.1:8080:8080 -v "${HOME}/.local/share/code-server:/home/coder/.local/share/code-server" -v "$PWD:/home/coder/project" codercom/code-server:v2 docker run -it -p 127.0.0.1:8080:8080 -v "${HOME}/.local/share/code-server:/home/coder/.local/share/code-server" -v "$PWD:/home/coder/project" codercom/code-server:v2
``` ```
[![Run on Google Cloud](https://storage.googleapis.com/cloudrun/button.svg)](https://deploy.cloud.run?dir=gcloud/)
- **Consistent environment:** Code on your Chromebook, tablet, and laptop with a - **Consistent environment:** Code on your Chromebook, tablet, and laptop with a
consistent dev environment. develop more easily for Linux if you have a consistent dev environment. develop more easily for Linux if you have a

3
gcloud/Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM codercom/code-server:v2
EXPOSE 8080