rss_scrape/Dockerfile

13 lines
219 B
Docker
Raw Permalink Normal View History

2021-07-02 00:10:42 +00:00
FROM python:3.8
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir lxml feedgenerator requests datetime
RUN mkdir /app
WORKDIR /app
ENV PYTHONUNBUFFERED=1
CMD ["python", "server.py"]