From 1d9b6c3cd13dbaecae95c6c4b03671594dcc2cf0 Mon Sep 17 00:00:00 2001 From: Yann Verry Date: Sat, 29 May 2021 23:31:56 +0200 Subject: [PATCH] fix dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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