From e016332fe45df72534765e35d3edf32db90978cb Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Wed, 29 May 2024 02:09:47 +0300 Subject: [PATCH] WIP --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 61ff934..6b783b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,6 @@ ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 RUN useradd -ms /bin/bash user && rm -rf /var/lib/apt/lists/* -USER user WORKDIR /app @@ -24,6 +23,7 @@ COPY --from=builder /app/wheels /wheels COPY --from=builder /app/requirements.txt . RUN pip install --no-cache /wheels/* +USER user COPY . .