Spaces:
Sleeping
Sleeping
Download Dockerfile from Alberto454/omnis-backend: direct link, hf CLI and curl.
- Browser
- Download file 367 Bytes
-
https://huggingface.co/spaces/Alberto454/omnis-backend/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Alberto454/omnis-backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Alberto454/omnis-backend/resolve/main/Dockerfile
367 Bytes
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y curl poppler-utils tesseract-ocr tesseract-ocr-ita | |
| RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs | |
| RUN npm install -g @mermaid-js/mermaid-cli | |
| COPY . /app | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |