7 lines
323 B
Docker
7 lines
323 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://moshferatu.dev/api/packages/moshferatu/pypi/simple/ database
|
|
RUN pip install --index-url https://moshferatu.dev/api/packages/moshferatu/pypi/simple/ news
|
|
CMD ["python", "./update_news.py"] |