Spaces:
Runtime error
Runtime error
Download Dockerfile from pockit-cloud/website: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/spaces/pockit-cloud/website/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/pockit-cloud/website/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/pockit-cloud/website/resolve/main/Dockerfile
293 Bytes
| FROM node:20-alpine | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Copy package files first (better for Docker caching) | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install | |
| # Copy the rest of your code (server.js, etc.) | |
| COPY . . | |
| # Run the app | |
| CMD ["npm", "start"] |