Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -14
Dockerfile
CHANGED
|
@@ -1,15 +1,5 @@
|
|
| 1 |
# This will start a code-server container and expose it at http://127.0.0.1:8080.
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
# Your $HOME/.config is mounted at $HOME/.config within the container to ensure you can
|
| 7 |
-
# easily access/modify your code-server config in $HOME/.config/code-server/config.json
|
| 8 |
-
# outside the container.
|
| 9 |
-
mkdir -p ~/.config
|
| 10 |
-
docker run -it --name code-server -p 127.0.0.1:8080:8080 \
|
| 11 |
-
-v "$HOME/.config:/home/coder/.config" \
|
| 12 |
-
-v "$PWD:/home/coder/project" \
|
| 13 |
-
-u "$(id -u):$(id -g)" \
|
| 14 |
-
-e "DOCKER_USER=$USER" \
|
| 15 |
-
codercom/code-server:latest
|
|
|
|
| 1 |
# This will start a code-server container and expose it at http://127.0.0.1:8080.
|
| 2 |
+
git clone https://github.com/coder/coder.git
|
| 3 |
+
cd coder
|
| 4 |
+
|
| 5 |
+
docker-compose up
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|