Spaces:
Runtime error
Runtime error
Download Dockerfile from Dhurgh/FireTech-Message-server: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/spaces/Dhurgh/FireTech-Message-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Dhurgh/FireTech-Message-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Dhurgh/FireTech-Message-server/resolve/main/Dockerfile
381 Bytes
| # Use the official lightweight Node image | |
| FROM node:lts-alpine | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Copy package config files and install dependencies | |
| COPY package*.json ./ | |
| RUN npm install | |
| # Copy the rest of your server code | |
| COPY . . | |
| # Expose Hugging Face's mandatory port | |
| EXPOSE 7860 | |
| # Command to start your Express server | |
| CMD ["node", "server.js"] |