16 lines
294 B
Docker
16 lines
294 B
Docker
FROM python:latest
|
|
|
|
ENV TZ Europe/Zurich
|
|
|
|
RUN apt-get update && apt-get install -y ghostscript
|
|
# for compression of pdfs
|
|
|
|
|
|
RUN mkdir -p /app/auto_news
|
|
|
|
COPY requirements.txt /app/requirements.txt
|
|
RUN python3 -m pip install -r /app/requirements.txt
|
|
|
|
COPY . /app/auto_news
|
|
WORKDIR /app/auto_news
|