From 6e812a12693d5c419d8bfcc68c3a2e35007ca455 Mon Sep 17 00:00:00 2001 From: danielfromearth Date: Tue, 31 Oct 2023 17:15:42 -0400 Subject: [PATCH] remove extra user switching from Dockerfile --- Dockerfile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0dd2850..b2a3501 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,19 +31,14 @@ USER root RUN mkdir -p /worker && chown dockeruser /worker COPY pyproject.toml /worker # COPY ../pyproject.toml /worker -USER dockeruser WORKDIR /worker - # ENV PYTHONPATH=${PYTHONPATH}:${PWD} - COPY --chown=dockeruser $DIST_PATH $DIST_PATH -USER dockeruser #RUN pip3 install --no-cache-dir --force --user --index-url https://pypi.org/simple/ --extra-index-url https://test.pypi.org/simple/ $SOURCE \ # && rm -rf $DIST_PATH #install poetry as root -USER root RUN poetry config virtualenvs.create false RUN poetry install --only main