simplified docker usage
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-09-27 22:00:54 +02:00
parent 51e1aab134
commit eb797a945d
5 changed files with 31 additions and 39 deletions
+2 -2
View File
@@ -1,6 +1,7 @@
FROM python:3.7.3-stretch
COPY requirements.txt /tmp/
COPY entrypoint.sh /
RUN pip install -r /tmp/requirements.txt
COPY . /tmp/infomentor
@@ -10,5 +11,4 @@ RUN useradd --create-home appuser
WORKDIR /home/appuser
USER appuser
VOLUME ["/home/appuser"]
CMD [ "python", "-m", "infomentor" ]
ENTRYPOINT ["/entrypoint.sh"]