Spaces:
Paused
Paused
Download Dockerfile from Mythus/Teledrive2: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/spaces/Mythus/Teledrive2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mythus/Teledrive2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mythus/Teledrive2/resolve/main/Dockerfile
447 Bytes
| FROM node:18.16.0 as build | |
| ARG REACT_APP_TG_API_ID | |
| ARG REACT_APP_TG_API_HASH | |
| WORKDIR /apps | |
| COPY yarn.lock . | |
| COPY package.json . | |
| COPY api/package.json api/package.json | |
| COPY web/package.json web/package.json | |
| COPY docker/.env . | |
| RUN yarn cache clean | |
| RUN yarn install | |
| RUN yarn global add prisma | |
| RUN npx browserslist@latest --update-db | |
| COPY . . | |
| RUN export NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch" | |
| RUN yarn workspaces run build | |