database-automation/news/Dockerfile

7 lines
323 B
Docker
Raw Normal View History

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"]