ChloeLilyMu commited on
Commit
0c3f673
·
verified ·
1 Parent(s): 35e59c6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -6,16 +6,15 @@ WORKDIR /app
6
 
7
  COPY 40990sign.tar.gz /app/40990sign.tar.gz
8
 
9
- # 设置动态库搜索路径
10
  ENV LD_LIBRARY_PATH=/app/40990sign:$LD_LIBRARY_PATH
11
  ENV PORT=7860
12
  EXPOSE 7860
13
 
14
- # 解压并启动 sign
15
  CMD bash -c "\
16
  tar -xvf /app/40990sign.tar.gz -C /app && \
17
  chmod +x /app/40990sign/sign && \
18
- ls -l /app/40990sign/ && \
19
  chmod +r /app/40990sign/*.so && \
20
- /app/40990sign/sign \
 
21
  "
 
6
 
7
  COPY 40990sign.tar.gz /app/40990sign.tar.gz
8
 
 
9
  ENV LD_LIBRARY_PATH=/app/40990sign:$LD_LIBRARY_PATH
10
  ENV PORT=7860
11
  EXPOSE 7860
12
 
13
+ # 解压并启动
14
  CMD bash -c "\
15
  tar -xvf /app/40990sign.tar.gz -C /app && \
16
  chmod +x /app/40990sign/sign && \
 
17
  chmod +r /app/40990sign/*.so && \
18
+ cd /app/40990sign && \
19
+ ./sign \
20
  "