Spaces:
Sleeping
Sleeping
feat: 调试
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -10,6 +10,8 @@ COPY . /app
|
|
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 |
# 安装crontab和其他依赖
|
14 |
RUN apt-get update && apt-get install -y cron wget git && \
|
15 |
pip install --no-cache-dir -r requirements.txt
|
|
|
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 /run/secrets/PLAYER_SCRIPT
|
14 |
+
|
15 |
# 安装crontab和其他依赖
|
16 |
RUN apt-get update && apt-get install -y cron wget git && \
|
17 |
pip install --no-cache-dir -r requirements.txt
|