Files
bibreminder/Dockerfile
Matthias Bilger ba8a714bc2
All checks were successful
continuous-integration/drone/push Build is passing
improved dockerfile
Install deps
Use a user
2019-09-25 06:24:34 +02:00

14 lines
227 B
Docker

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