Download Dockerfile from ruv/flow: direct link, hf CLI and curl.
- Browser
- Download file 505 Bytes
-
https://huggingface.co/spaces/ruv/flow/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ruv/flow/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ruv/flow/resolve/main/Dockerfile
505 Bytes
| FROM python:3.9 | |
| WORKDIR /app | |
| COPY public ./public | |
| COPY requirements.txt . | |
| COPY app.py . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \ | |
| apt-get install -y nodejs | |
| COPY package*.json ./ | |
| COPY src ./src | |
| RUN npm install | |
| RUN npm install reactflow | |
| RUN npm run build | |
| # COPY build ./build | |
| # Expose the port on which the Flask application will run | |
| EXPOSE 7860 | |
| # Set the command to run the Flask application | |
| CMD ["python", "app.py"] |