Download Dockerfile from Mythus/TeleMarts: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/Mythus/TeleMarts/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mythus/TeleMarts/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mythus/TeleMarts/resolve/main/Dockerfile
419 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 info | |
| RUN echo 'export NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"' >>~/.bash_profile | |
| RUN yarn install | |
| COPY . . | |
| RUN yarn workspaces run build | |