Spaces:
Paused
Paused
Download Dockerfile from focusprogram/simple-player: direct link, hf CLI and curl.
- Browser
- Download file 470 Bytes
-
https://huggingface.co/spaces/focusprogram/simple-player/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/focusprogram/simple-player/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/focusprogram/simple-player/resolve/main/Dockerfile
470 Bytes
| FROM node:lts-alpine | |
| WORKDIR /app | |
| RUN apk add --no-cache git && \ | |
| git clone https://github.com/FocusProgram/simple-video-player.git . && \ | |
| npm install && \ | |
| echo "SQL_DSN=your_sql_dsn" >> .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"] |