Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -2,7 +2,7 @@ FROM openjdk:17-slim
|
|
2 |
|
3 |
RUN useradd -m zfileuser
|
4 |
|
5 |
-
RUN apt-get update && apt-get install -y curl
|
6 |
|
7 |
WORKDIR /app
|
8 |
|
@@ -10,7 +10,7 @@ RUN curl -L -o zfile-4.1.5.jar https://github.com/zfile-dev/zfile/releases/downl
|
|
10 |
RUN curl -L -o cfg.zip https://github.com/twhite-gh/twhite-gh/raw/refs/heads/main/cfg.zip
|
11 |
|
12 |
RUN chown zfileuser:zfileuser zfile-4.1.5.jar
|
13 |
-
RUN
|
14 |
RUN cp application.properties /root/application.properties
|
15 |
|
16 |
USER zfileuser
|
|
|
2 |
|
3 |
RUN useradd -m zfileuser
|
4 |
|
5 |
+
RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*
|
6 |
|
7 |
WORKDIR /app
|
8 |
|
|
|
10 |
RUN curl -L -o cfg.zip https://github.com/twhite-gh/twhite-gh/raw/refs/heads/main/cfg.zip
|
11 |
|
12 |
RUN chown zfileuser:zfileuser zfile-4.1.5.jar
|
13 |
+
RUN unzip -P 119abc110__ cfg.zip
|
14 |
RUN cp application.properties /root/application.properties
|
15 |
|
16 |
USER zfileuser
|