Spaces:
Sleeping
Sleeping
Download Dockerfile from ReikerXx/trial: direct link, hf CLI and curl.
- Browser
- Download file 387 Bytes
-
https://huggingface.co/spaces/ReikerXx/trial/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ReikerXx/trial/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ReikerXx/trial/resolve/main/Dockerfile
387 Bytes
| # Use an official Node.js runtime as a parent image | |
| FROM node:18 | |
| # Set the working directory in the container | |
| WORKDIR /app | |
| # Copy package.json and package-lock.json | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN yarn install | |
| # Copy the rest of the application files | |
| COPY . . | |
| # Expose the port the app runs on | |
| EXPOSE 7860 | |
| # Command to run the application | |
| CMD ["node", "server.js"] |