Spaces:
Running
Running
MadisonWirtanen
commited on
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3-
|
2 |
LABEL maintainer='<author>'
|
3 |
LABEL version='0.0.0-dev.0-build.0'
|
4 |
|
@@ -12,7 +12,7 @@ RUN apk add --no-cache \
|
|
12 |
|
13 |
# Download and unzip the GitHub repository
|
14 |
RUN set -e; \
|
15 |
-
DOWNLOAD_URL="https://github.com/
|
16 |
echo "Downloading from: $DOWNLOAD_URL"; \
|
17 |
wget "$DOWNLOAD_URL" -O /tmp/webssh.zip || (echo "Download failed. URL may be incorrect." && exit 1); \
|
18 |
unzip /tmp/webssh.zip -d /tmp && \
|
@@ -36,5 +36,4 @@ EXPOSE 8888/tcp
|
|
36 |
|
37 |
USER webssh
|
38 |
|
39 |
-
# Modify the CMD instruction to use an array format
|
40 |
CMD ["python", "run.py"]
|
|
|
1 |
+
FROM python:3.11.10-alpine3.20
|
2 |
LABEL maintainer='<author>'
|
3 |
LABEL version='0.0.0-dev.0-build.0'
|
4 |
|
|
|
12 |
|
13 |
# Download and unzip the GitHub repository
|
14 |
RUN set -e; \
|
15 |
+
DOWNLOAD_URL="https://codeload.github.com/crazypeace/huashengdun-webssh/zip/refs/heads/master"; \
|
16 |
echo "Downloading from: $DOWNLOAD_URL"; \
|
17 |
wget "$DOWNLOAD_URL" -O /tmp/webssh.zip || (echo "Download failed. URL may be incorrect." && exit 1); \
|
18 |
unzip /tmp/webssh.zip -d /tmp && \
|
|
|
36 |
|
37 |
USER webssh
|
38 |
|
|
|
39 |
CMD ["python", "run.py"]
|