Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
|
@@ -2,7 +2,10 @@ FROM node:22
|
|
| 2 |
|
| 3 |
WORKDIR /RUN
|
| 4 |
|
| 5 |
-
RUN npm install
|
| 6 |
-
|
| 7 |
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /RUN
|
| 4 |
|
| 5 |
+
RUN npm install pnpm -g && \
|
| 6 |
+
pnpm install tgfs
|
| 7 |
|
| 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
|