Spaces:
Paused
Paused
Download Dockerfile from levantermd/lyfe1: direct link, hf CLI and curl.
- Browser
- Download file 339 Bytes
-
https://huggingface.co/spaces/levantermd/lyfe1/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/levantermd/lyfe1/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/levantermd/lyfe1/resolve/main/Dockerfile
339 Bytes
| FROM node:20 | |
| # Set the working directory | |
| WORKDIR /app | |
| # Copy all files into the container | |
| COPY . . | |
| # Give full read, write, and execute permissions to all files and directories | |
| RUN chmod -R 777 /app | |
| # Install dependencies | |
| RUN npm install | |
| # Expose the port for the application | |
| EXPOSE 7860 | |
| # Start the application | |
| CMD ["npm", "start"] | |