improved dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

Install deps
Use a user
This commit is contained in:
2019-09-25 06:24:34 +02:00
parent d01b879003
commit ba8a714bc2
2 changed files with 10 additions and 2 deletions

View File

@@ -1,4 +1,13 @@
FROM python:3.7
RUN useradd --create-home appuser
COPY requirements.txt /home/appuser
RUN pip install -r /home/appuser/requirements.txt
WORKDIR /home/appuser
USER appuser
COPY bibcheck.py /
CMD ["python", "bibcheck.py"]
CMD ["python", "./bibcheck.py"]

View File

@@ -1,5 +1,4 @@
beautifulsoup4==4.8.0
bs4==0.0.1
certifi==2019.9.11
chardet==3.0.4
html5lib==1.0.1