Spaces:
Running
Running
Download Dockerfile from Yash030/antigravity-proxy: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/spaces/Yash030/antigravity-proxy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Yash030/antigravity-proxy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Yash030/antigravity-proxy/resolve/main/Dockerfile
371 Bytes
| FROM node:20 | |
| WORKDIR /app | |
| # Copy package files first for caching | |
| COPY package*.json ./ | |
| RUN npm install --ignore-scripts | |
| # Copy source files | |
| COPY . . | |
| # Run prep build scripts | |
| RUN npm run build:css | |
| # Set Hugging Face environment defaults | |
| ENV PORT=7860 | |
| ENV NODE_ENV=production | |
| EXPOSE 7860 | |
| COPY start.sh /app/start.sh | |
| RUN chmod +x /app/start.sh | |
| CMD ["/app/start.sh"] | |