Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +16 -0
Dockerfile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM codercom/code-server:latest
|
| 2 |
+
|
| 3 |
+
WORKDIR /home/coder
|
| 4 |
+
|
| 5 |
+
USER root
|
| 6 |
+
RUN apt-get update && apt-get install -y \
|
| 7 |
+
curl python3 python3-venv python3-pip python3-notebook \
|
| 8 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
+
|
| 10 |
+
USER coder
|
| 11 |
+
|
| 12 |
+
ENV PASSWORD="tensoft7396"
|
| 13 |
+
|
| 14 |
+
EXPOSE 7860
|
| 15 |
+
|
| 16 |
+
ENTRYPOINT ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "password"]
|