This commit is contained in:
norohind 2024-05-29 02:09:47 +03:00
parent b2b96b114d
commit e016332fe4
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

View File

@ -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 . .