Spaces:
Runtime error
Runtime error
Delete Dockerfile
Browse files- Dockerfile +0 -18
Dockerfile
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
# Use a base image with a Linux distribution
|
2 |
-
FROM node:18
|
3 |
-
|
4 |
-
# Set the working directory
|
5 |
-
WORKDIR /code
|
6 |
-
|
7 |
-
SHELL ["/bin/bash", "-c"]
|
8 |
-
RUN npm install -g code-server --unsafe-perm && \
|
9 |
-
sed -i.bak 's/auth: password/auth: none/' ~/.config/code-server/config.yaml
|
10 |
-
|
11 |
-
# Install code-server globally with unsafe-perm
|
12 |
-
#RUN npm install -g code-server --unsafe-perm
|
13 |
-
|
14 |
-
# Expose the desired port
|
15 |
-
EXPOSE 7680
|
16 |
-
|
17 |
-
# Start code-server on port 7860
|
18 |
-
CMD ["code-server", "--port", "7860"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|