Spaces:
Runtime error
Runtime error
File size: 560 Bytes
f571c33 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
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"]
|