We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0125fa4 + 82faa80 commit b4a5d72Copy full SHA for b4a5d72
Containerfile
@@ -16,7 +16,9 @@ RUN pip3.12 install --no-cache-dir --upgrade pip && \
16
WORKDIR /app
17
18
# Set ownership to the user we created. Group 0 (root) is important for OpenShift compatibility.
19
-RUN chown 1001:0 /app
+RUN chown -R 1001:0 /app && \
20
+ chgrp -R 0 /app && \
21
+ chmod -R g+rwX /app
22
23
# Switch to the non-root user *before* copying files and installing dependencies
24
USER 1001
0 commit comments