WIP
This commit is contained in:
parent
b2b96b114d
commit
e016332fe4
@ -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 . .
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user