Spaces:
Sleeping
Sleeping
Download Dockerfile from manuelcaccone/api-rmarkdown: direct link, hf CLI and curl.
- Browser
- Download file 358 Bytes
-
https://huggingface.co/spaces/manuelcaccone/api-rmarkdown/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/manuelcaccone/api-rmarkdown/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/manuelcaccone/api-rmarkdown/resolve/main/Dockerfile
358 Bytes
| FROM 070991/rmd-fixer-api:v2.1 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| lmodern \ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && mktexlsr \ | |
| && updmap-sys | |
| WORKDIR /app | |
| COPY app.py validator.py /app/ | |
| RUN mkdir -p /app/temp /app/logs | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |