Spaces:
Sleeping
Sleeping
Download Dockerfile from Antoni09/Test_DB: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/spaces/Antoni09/Test_DB/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Antoni09/Test_DB/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Antoni09/Test_DB/resolve/main/Dockerfile
334 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| RUN mkdir -p /data \ | |
| && chmod -R 777 /data | |
| COPY web_invoice_store.json /data/web_invoice_store.json | |
| RUN chmod 666 /data/web_invoice_store.json | |
| ENV DATA_DIR=/data | |
| ENV PORT=7860 | |
| CMD ["python", "server.py"] |