Spaces:
Build error
Build error
Download Dockerfile from Calmlo/simple-vp-pg: direct link, hf CLI and curl.
- Browser
- Download file 480 Bytes
-
https://huggingface.co/spaces/Calmlo/simple-vp-pg/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Calmlo/simple-vp-pg/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Calmlo/simple-vp-pg/resolve/main/Dockerfile
480 Bytes
| FROM node:lts-alpine | |
| WORKDIR /app | |
| RUN apk add --no-cache git && \ | |
| git clone https://github.com/ltxlong/simple-video-player.git . && \ | |
| npm install && \ | |
| echo "PG_CONNECTION_STRING=your_pgsql_url" >> .env && \ | |
| echo "ADMIN_PASSWORD=123456" >> .env && \ | |
| echo "LOGIN_JWT_SECRET_KEY=your_secret_key" >> .env && \ | |
| echo "VITE_VPS_ENDPOINT_FLAG=true" >> .env && \ | |
| chown -R node:node /app | |
| CMD ["npm", "run", "dev:local"] |