Spaces:
Paused
Paused
Download Dockerfile from IsidoreSong/GoodGather: direct link, hf CLI and curl.
- Browser
- Download file 595 Bytes
-
https://huggingface.co/spaces/IsidoreSong/GoodGather/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/IsidoreSong/GoodGather/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/IsidoreSong/GoodGather/resolve/main/Dockerfile
595 Bytes
| FROM node:18-alpine AS base | |
| ENV PATH="/pnpm:$PATH" | |
| RUN npm i -g pnpm | |
| WORKDIR /usr/src/app | |
| RUN git clone https://github.com/cooderl/wewe-rss . | |
| RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile | |
| RUN pnpm run -r build | |
| RUN pnpm deploy --filter=server --prod /app | |
| RUN cd /app && pnpm exec prisma generate | |
| WORKDIR /app | |
| EXPOSE 4000 | |
| ENV NODE_ENV=production | |
| ENV HOST="0.0.0.0" | |
| ENV SERVER_ORIGIN_URL="" | |
| ENV MAX_REQUEST_PER_MINUTE=60 | |
| ENV AUTH_CODE="" | |
| ENV DATABASE_URL="" | |
| ENV CRON_EXPRESSION="0 8 * * *" | |
| RUN chmod +x ./docker-bootstrap.sh | |
| CMD ["./docker-bootstrap.sh"] | |