mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
First self-hosted release
This commit is contained in:
12
addon/hosted/Dockerfile
Normal file
12
addon/hosted/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM python:3.10.13
|
||||
COPY . .
|
||||
RUN pip --no-cache-dir install pipenv && \
|
||||
apt-get update && apt-get install sqlite3 && \
|
||||
apt-get clean autoclean && \
|
||||
apt-get autoremove --yes && \
|
||||
mkdir /sqlite && \
|
||||
sqlite3 /sqlite/torrentio.sqlite "VACUUM;" && \
|
||||
cat torrentio.sql | sqlite3 /sqlite/torrentio.sqlite && \
|
||||
ls -l /sqlite && \
|
||||
pipenv install && touch .init
|
||||
CMD [ "pipenv", "run", "python", "-u", "scraper.py" ]
|
||||
Reference in New Issue
Block a user