simple-vp-pg / Dockerfile
ltxlong's picture
Update Dockerfile
7a4be92 verified
raw
history blame contribute delete
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"]