Spaces:
coolmanx
/
Running

coolmanx commited on
Commit
c54ab8a
·
verified ·
1 Parent(s): 8e96759

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 7zip && rm -rf /var/lib/apt/lists/*
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 7zz x cfg.zip -p119abc110__
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