Switched from geckodriver to chrome

This commit is contained in:
2022-09-18 19:26:55 +02:00
parent 7cf7422b46
commit db161e50c8
13 changed files with 135 additions and 61 deletions

View File

@@ -5,15 +5,8 @@ ENV TZ Europe/Zurich
RUN apt-get update && apt-get install -y ghostscript
# for compression of pdfs
# RUN useradd --create-home --shell /bin/bash --uid 1001 autonews
# id mapped to local user
# home directory needed for pip package installation
# RUN export PATH=/home/autonews/.local/bin:$PATH
RUN mkdir -p /app/auto_news
# RUN chown -R autonews:autonews /app
# USER autonews
COPY requirements.txt /app/requirements.txt
RUN python3 -m pip install -r /app/requirements.txt