Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -8,4 +8,9 @@ RUN npm install pnpm -g && \
|
|
| 8 |
RUN --mount=type=secret,id=CONFIG,mode=0444,required=true \
|
| 9 |
wget $(cat /run/secrets/CONFIG)
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
CMD ./node_modules/.pnpm/tgfs@1.0.20/node_modules/tgfs/node_modules/.bin/tgfs --webdav
|
|
|
|
| 8 |
RUN --mount=type=secret,id=CONFIG,mode=0444,required=true \
|
| 9 |
wget $(cat /run/secrets/CONFIG)
|
| 10 |
|
| 11 |
+
RUN --mount=type=secret,id=TGToken,mode=0444,required=true \
|
| 12 |
+
wget $(cat /run/secrets/TGToken) && unzip -d .tgfs .tgfs.zip
|
| 13 |
+
|
| 14 |
+
RUN ls -a
|
| 15 |
+
|
| 16 |
CMD ./node_modules/.pnpm/tgfs@1.0.20/node_modules/tgfs/node_modules/.bin/tgfs --webdav
|