diff --git a/Dockerfile b/Dockerfile index 828d7e5..13bf6c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,11 @@ FROM python:alpine MAINTAINER Yann Verry -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 \ No newline at end of file +CMD python /app/main.py \ No newline at end of file