Spaces:
Paused
Paused
Download Dockerfile from haxwitcher/GOLDtest: direct link, hf CLI and curl.
- Browser
- Download file 498 Bytes
-
https://huggingface.co/spaces/haxwitcher/GOLDtest/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/haxwitcher/GOLDtest/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/haxwitcher/GOLDtest/resolve/main/Dockerfile
498 Bytes
| # Dockerfile | |
| # Koristimo Node.js LTS (Alpine verzija za malu veličinu) | |
| FROM node:18-alpine | |
| # Instaliramo git da bismo mogli klonirati privatni repo | |
| RUN apk add --no-cache git | |
| # Kreiramo radni direktorijum | |
| WORKDIR /app | |
| # Kopiramo entrypoint skriptu i dodeljujemo joj izvršne permisije | |
| COPY entrypoint.sh /entrypoint.sh | |
| RUN chmod +x /entrypoint.sh | |
| # Expose port koji Hugging Face Spaces prosleđuje (default 7860) | |
| EXPOSE 7860 | |
| # Pokrećemo entrypoint skriptu pri startu | |
| CMD ["/entrypoint.sh"] | |