Spaces:
Running
Running
Download Dockerfile from UBC-NLP/SimbaBench: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/spaces/UBC-NLP/SimbaBench/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/UBC-NLP/SimbaBench/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/UBC-NLP/SimbaBench/resolve/main/Dockerfile
291 Bytes
| # Use Node.js 18 | |
| FROM node:18 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy package files and install dependencies | |
| COPY package.json ./ | |
| RUN npm install | |
| # Copy the rest of the app code | |
| COPY . . | |
| # Expose the port Hugging Face expects | |
| EXPOSE 7860 | |
| # Start the server | |
| CMD ["node", "server.js"] |