Spaces:
Running
Running
Download Dockerfile from YoAkatsuki/Buckshot: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/spaces/YoAkatsuki/Buckshot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/YoAkatsuki/Buckshot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/YoAkatsuki/Buckshot/resolve/main/Dockerfile
420 Bytes
| # Production Dockerfile for Bugshot-Roulette Server on Hugging Face Spaces | |
| FROM node:20-slim | |
| # Create app directory | |
| WORKDIR /usr/src/app | |
| # Install app dependencies | |
| COPY package*.json ./ | |
| RUN npm install --omit=dev | |
| # Bundle app source | |
| COPY . . | |
| # Expose Hugging Face Spaces standard port | |
| EXPOSE 7860 | |
| # Production environment variables | |
| ENV PORT=7860 | |
| ENV NODE_ENV=production | |
| # Run the server | |
| CMD [ "node", "index.js" ] | |