Skip to content

Commit b4a5d72

Browse files
authored
Merge pull request #48 from eifrach/change_to_pip
Merge branch 'main' into change_to_pip
2 parents 0125fa4 + 82faa80 commit b4a5d72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Containerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ RUN pip3.12 install --no-cache-dir --upgrade pip && \
1616
WORKDIR /app
1717

1818
# Set ownership to the user we created. Group 0 (root) is important for OpenShift compatibility.
19-
RUN chown 1001:0 /app
19+
RUN chown -R 1001:0 /app && \
20+
chgrp -R 0 /app && \
21+
chmod -R g+rwX /app
2022

2123
# Switch to the non-root user *before* copying files and installing dependencies
2224
USER 1001

0 commit comments

Comments
 (0)