Spaces:
Sleeping
Sleeping
feat: 调试
Browse files- 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 |
-
|
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 && \
|