Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -36,16 +36,16 @@ RUN wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-p
|
|
| 36 |
# Install code-server
|
| 37 |
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 38 |
|
| 39 |
-
# Create user
|
| 40 |
-
RUN useradd -ms /bin/bash vscode
|
| 41 |
-
USER vscode
|
| 42 |
-
WORKDIR /home/vscode
|
| 43 |
-
|
| 44 |
# Copy entrypoint + backup/restore
|
| 45 |
COPY entrypoint.sh /entrypoint.sh
|
| 46 |
COPY backup.py /backup.py
|
| 47 |
COPY restore.py /restore.py
|
| 48 |
RUN chmod +x /entrypoint.sh
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
EXPOSE 7860
|
| 51 |
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
| 36 |
# Install code-server
|
| 37 |
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
# Copy entrypoint + backup/restore
|
| 40 |
COPY entrypoint.sh /entrypoint.sh
|
| 41 |
COPY backup.py /backup.py
|
| 42 |
COPY restore.py /restore.py
|
| 43 |
RUN chmod +x /entrypoint.sh
|
| 44 |
|
| 45 |
+
# Create user
|
| 46 |
+
RUN useradd -ms /bin/bash vscode
|
| 47 |
+
USER vscode
|
| 48 |
+
WORKDIR /home/vscode
|
| 49 |
+
|
| 50 |
EXPOSE 7860
|
| 51 |
ENTRYPOINT ["/entrypoint.sh"]
|