7 lines
331 B
Docker
7 lines
331 B
Docker
|
FROM python:3.11
|
||
|
COPY update_news.py .
|
||
|
COPY requirements.txt .
|
||
|
RUN pip install -r requirements.txt
|
||
|
RUN pip install --index-url https://dev.moshington.com/api/packages/moshferatu/pypi/simple/ database
|
||
|
RUN pip install --index-url https://dev.moshington.com/api/packages/moshferatu/pypi/simple/ news
|
||
|
CMD ["python", "./update_news.py"]
|