11 lines
229 B
Docker
11 lines
229 B
Docker
FROM python:3.7
|
|
ENV DB_FILE=/data/grabbing.json
|
|
VOLUME /data
|
|
WORKDIR /data
|
|
COPY grabconfig.json ./
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN python -m pip install -r requirements.txt
|
|
COPY epgrab.py .
|
|
CMD ["python", "./epgrab.py"]
|