Spaces:
Sleeping
Sleeping
Download Dockerfile from Juna190825/multiapi: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/spaces/Juna190825/multiapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Juna190825/multiapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Juna190825/multiapi/resolve/main/Dockerfile
322 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| # Set matplotlib config directory to a writable location | |
| ENV MPLCONFIGDIR=/tmp/matplotlib | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt && \ | |
| mkdir -p /tmp/matplotlib && \ | |
| chmod -R 777 /tmp/matplotlib | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |