This repository has been archived on 2020-02-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
infomentor/Dockerfile
Matthias Bilger eb797a945d
All checks were successful
continuous-integration/drone/push Build is passing
simplified docker usage
2019-09-27 22:00:54 +02:00

15 lines
298 B
Docker

FROM python:3.7.3-stretch
COPY requirements.txt /tmp/
COPY entrypoint.sh /
RUN pip install -r /tmp/requirements.txt
COPY . /tmp/infomentor
RUN pip install /tmp/infomentor
RUN useradd --create-home appuser
WORKDIR /home/appuser
USER appuser
VOLUME ["/home/appuser"]
ENTRYPOINT ["/entrypoint.sh"]