Spaces:
Runtime error
Runtime error
File size: 454 Bytes
5300c16 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
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
RUN sqlite-utils tables /code/history.db --counts
RUN chmod 755 /code/history.db
COPY ./metadata.yml /code/metadata.yml
CMD ["datasette", "/code/history.db", "-m", "/code/metadata.yml", "--host", "0.0.0.0", "--port", "7860"]
|