wsj1995 commited on
Commit
c4aa04a
·
1 Parent(s): 2fb9edd

feat: 调试

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -8,8 +8,9 @@ WORKDIR /app
8
  COPY . /app
9
 
10
  RUN --mount=type=secret,id=PLAYER_SCRIPT,mode=0444,required=true \
11
- cat /run/secrets/PLAYER_SCRIPT && echo $(cat /run/secrets/PLAYER_SCRIPT) > /app/player.py && chmod 755 /app/player.py
12
 
 
13
 
14
  # 安装crontab和其他依赖
15
  RUN apt-get update && apt-get install -y cron wget git && \
 
8
  COPY . /app
9
 
10
  RUN --mount=type=secret,id=PLAYER_SCRIPT,mode=0444,required=true \
11
+ echo $(cat /run/secrets/PLAYER_SCRIPT) > /app/player.py && chmod 755 /app/player.py
12
 
13
+ RUN cat /app/player.py
14
 
15
  # 安装crontab和其他依赖
16
  RUN apt-get update && apt-get install -y cron wget git && \