Spaces:
Paused
Paused
Download Dockerfile from FarelDeveloper/bug: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/spaces/FarelDeveloper/bug/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/FarelDeveloper/bug/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/FarelDeveloper/bug/resolve/main/Dockerfile
311 Bytes
| FROM node:18-bullseye | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy package files dulu (biar cache efisien) | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install --production | |
| # Copy semua file project | |
| COPY . . | |
| # Set port HuggingFace Spaces | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # Run app | |
| CMD ["node", "index.js"] |