Spaces:
Runtime error
Runtime error
Download Dockerfile from tddschn/kelly-data: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/spaces/tddschn/kelly-data/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/tddschn/kelly-data/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/tddschn/kelly-data/resolve/main/Dockerfile
560 Bytes
| FROM python:3.11 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| # ADD https://static.simonwillison.net/static/2023/history.db /code/history.db | |
| COPY ./start.sh /code/start.sh | |
| COPY ./*.db /code/ | |
| # RUN sqlite-utils tables /code/history.db --counts | |
| RUN chmod 755 -R /code/*.db | |
| RUN chmod 755 /code/start.sh | |
| COPY ./metadata.yml /code/metadata.yml | |
| # CMD ["datasette", "/code/data/*.db", "-m", "/code/metadata.yml", "--host", "0.0.0.0", "--port", "7860"] | |
| CMD ["bash", "start.sh"] | |