Added Dockerfile and removed PATH injection from shell.

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-05-05 09:37:52 +02:00
parent 7fe5e94846
commit b950da382e
2 changed files with 9 additions and 6 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM python:3.7
RUN pip install pipenv
COPY Pipfile Pipfile.lock /tmp/
RUN cd /tmp && pipenv install --system --deploy
COPY kapow /usr/bin
COPY bin/* /usr/bin/
ENTRYPOINT ["/usr/bin/kapow"]