Dockerfile: chown cache volume

This commit is contained in:
norohind 2023-12-01 19:15:03 +03:00 committed by GitHub
parent 821d127d03
commit 267a12124f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ COPY --from=builder /app/wheels /wheels
COPY --from=builder /app/requirements.txt .
RUN pip install --no-cache /wheels/*
RUN mkdir /tmp/data && chown user:user /tmp/data
USER user
COPY . .