Download Dockerfile.fly from Mythus/Staging: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/spaces/Mythus/Staging/resolve/main/Dockerfile.fly
- Command line
-
hf download hf://spaces/Mythus/Staging/Dockerfile.fly
-
curl -L -o Dockerfile.fly https://huggingface.co/spaces/Mythus/Staging/resolve/main/Dockerfile.fly
336 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 | |
| RUN yarn cache clean | |
| RUN yarn install --network-timeout 1000000 | |
| COPY . . | |
| RUN yarn workspaces run build | |
| CMD [ "yarn", "start" ] | |