diff --git a/Dockerfile b/Dockerfile index a2db183..5e2940d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,12 @@ ENV APP_ENV=/opt/venv ENV PATH="${APP_ENV}/bin:$PATH" RUN apk add --no-cache py3-pip uwsgi-python3 && \ - python3 -m venv $APP_ENV && \ - $APP_ENV/bin/pip install --no-cache-dir pip structables && \ + python3 -m venv $APP_ENV + +COPY . /app + +RUN $APP_ENV/bin/pip install --no-cache-dir pip && \ + $APP_ENV/bin/pip install /app && \ adduser -S -D -H structables COPY entrypoint.sh /entrypoint.sh