From 9c40466b4baaa8ff64107f5adad290dabf6d9266 Mon Sep 17 00:00:00 2001 From: Ayane Satomi Date: Fri, 25 Oct 2019 05:07:44 +0800 Subject: [PATCH] Add Google Cloud quick-launch button (#1069) --- README.md | 1 + gcloud/Dockerfile | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 gcloud/Dockerfile diff --git a/README.md b/README.md index 20a8e00e..cb7725eb 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Try it out: ```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 ``` +[![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 dev environment. develop more easily for Linux if you have a diff --git a/gcloud/Dockerfile b/gcloud/Dockerfile new file mode 100644 index 00000000..4a241348 --- /dev/null +++ b/gcloud/Dockerfile @@ -0,0 +1,3 @@ +FROM codercom/code-server:v2 + +EXPOSE 8080