Download Dockerfile from appimepp/OpenSIN-Security-Crypto: direct link, hf CLI and curl.
- Browser
- Download file 314 Bytes
-
https://huggingface.co/spaces/appimepp/OpenSIN-Security-Crypto/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/appimepp/OpenSIN-Security-Crypto/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/appimepp/OpenSIN-Security-Crypto/resolve/main/Dockerfile
314 Bytes
| FROM node:22-slim | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm ci --omit=dev 2>/dev/null || npm install | |
| COPY . . | |
| RUN npm run build 2>/dev/null || true | |
| EXPOSE 7860 | |
| HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \ | |
| CMD curl -f http://localhost:7860/health || exit 1 | |
| CMD ["node", "server.js"] | |