Spaces:
Sleeping
Sleeping
feat: 调试
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -8,9 +8,8 @@ WORKDIR /app
|
|
8 |
COPY . /app
|
9 |
|
10 |
RUN --mount=type=secret,id=PLAYER_SCRIPT,mode=0444,required=true \
|
11 |
-
|
12 |
|
13 |
-
RUN cat /run/secrets/PLAYER_SCRIPT
|
14 |
|
15 |
# 安装crontab和其他依赖
|
16 |
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 |
+
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 && \
|