fix dockerfile

master
Yann Verry 2021-05-29 23:31:56 +07:00
parent 9af0739d80
commit 1d9b6c3cd1
Signed by: yann
GPG Key ID: 19754E8692B8416C
1 changed files with 3 additions and 2 deletions

@ -5,10 +5,11 @@
FROM python:alpine
MAINTAINER Yann Verry <docker@verry.org>
WORKDIR .
WORKDIR /app
COPY Pipfile Pipfile.lock main.py /app/
RUN pip install --no-cache-dir pipenv && \
pipenv install --system --deploy
USER nobody
CMD python /routeros-restapi/main.py
CMD python /app/main.py