Download Dockerfile from daminy/sub-store: direct link, hf CLI and curl.
- Browser
- Download file 630 Bytes
-
https://huggingface.co/spaces/daminy/sub-store/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/daminy/sub-store/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/daminy/sub-store/resolve/main/Dockerfile
630 Bytes
| FROM alpine | |
| WORKDIR /opt/app | |
| RUN apk add --no-cache nodejs | |
| ADD https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store.bundle.js /opt/app/sub-store.bundle.js | |
| ADD https://github.com/sub-store-org/Sub-Store-Front-End/releases/latest/download/dist.zip /opt/app/dist.zip | |
| RUN unzip dist.zip; mv dist frontend; rm dist.zip | |
| RUN chmod 777 -R /opt/app | |
| CMD mkdir -p /opt/app/data; cd /opt/app/data; SUB_STORE_BACKEND_API_HOST=127.0.0.1 SUB_STORE_FRONTEND_HOST=0.0.0.0 SUB_STORE_FRONTEND_PORT=7860 SUB_STORE_FRONTEND_PATH=/opt/app/frontend SUB_STORE_DATA_BASE_PATH=/opt/app/data node /opt/app/sub-store.bundle.js |