fix dockerfile
This commit is contained in:
parent
9af0739d80
commit
1d9b6c3cd1
|
@ -5,10 +5,11 @@
|
||||||
FROM python:alpine
|
FROM python:alpine
|
||||||
MAINTAINER Yann Verry <docker@verry.org>
|
MAINTAINER Yann Verry <docker@verry.org>
|
||||||
|
|
||||||
WORKDIR .
|
WORKDIR /app
|
||||||
|
COPY Pipfile Pipfile.lock main.py /app/
|
||||||
|
|
||||||
RUN pip install --no-cache-dir pipenv && \
|
RUN pip install --no-cache-dir pipenv && \
|
||||||
pipenv install --system --deploy
|
pipenv install --system --deploy
|
||||||
|
|
||||||
USER nobody
|
USER nobody
|
||||||
CMD python /routeros-restapi/main.py
|
CMD python /app/main.py
|
Loading…
Reference in a new issue