Download Dockerfile from ReikerXx/My: direct link, hf CLI and curl.
- Browser
- Download file 520 Bytes
-
https://huggingface.co/spaces/ReikerXx/My/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ReikerXx/My/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ReikerXx/My/resolve/main/Dockerfile
520 Bytes
| FROM node:18 | |
| WORKDIR /app | |
| # Copy only package.json and yarn.lock into /app | |
| COPY package.json /app/ | |
| # Install dependencies in /app | |
| RUN yarn install | |
| # Clone the GitHub repository into /app/session | |
| RUN git clone https://github.com/reaperofssa/Session /app/session | |
| # Copy everything else from the current directory to the container's /app directory | |
| COPY . /app | |
| # Make everything executable | |
| RUN chmod -R 777 /app | |
| # Expose port 7860 | |
| EXPOSE 7860 | |
| # Set the entrypoint to the start.sh script | |
| CMD ["bash", "/app/start.sh"] |