Spaces:
Paused
Paused
Download Dockerfile from TheFirstOython/python: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/spaces/TheFirstOython/python/resolve/d3d070dc97a42d87bd0aca6407b1574623ded26b/Dockerfile
- Command line
-
hf download hf://spaces/TheFirstOython/python@d3d070dc97a42d87bd0aca6407b1574623ded26b/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/TheFirstOython/python/resolve/d3d070dc97a42d87bd0aca6407b1574623ded26b/Dockerfile
382 Bytes
| # Use official Node.js runtime as a base image | |
| FROM node:18-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy package.json and package-lock.json | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install | |
| # Copy the rest of your app files | |
| COPY . . | |
| # Expose the port your app listens on (default 7860 for HF Spaces) | |
| EXPOSE 7860 | |
| # Start your Node.js app | |
| CMD ["node", "index.js"] |