Download Dockerfile from manaf1234/SecBECS: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/manaf1234/SecBECS/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/manaf1234/SecBECS/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/manaf1234/SecBECS/resolve/main/Dockerfile
419 Bytes
| FROM mcr.microsoft.com/playwright:v1.61.0-noble | |
| WORKDIR /app | |
| # Optimize caching by installing layers sequentially | |
| COPY package*.json ./ | |
| RUN npm install --production | |
| COPY . . | |
| # Expose mandatory Hugging Face port allocations | |
| EXPOSE 7860 | |
| ENV PORT=7860 | |
| ENV NODE_ENV=production | |
| # Keep this to skip fresh downloads since it's already in the 1.61.0 image | |
| ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 | |
| CMD ["node", "server.js"] | |