File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ RUN pip3.12 install --no-cache-dir --upgrade pip && \
16
16
WORKDIR /app
17
17
18
18
# 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
20
22
21
23
# Switch to the non-root user *before* copying files and installing dependencies
22
24
USER 1001
@@ -29,9 +31,7 @@ COPY README.md ./
29
31
COPY ./src/ ./
30
32
31
33
# Install dependencies
32
- RUN uv sync --no-cache --locked && \
33
- chgrp -R 0 /app && \
34
- chmod -R g+rwX /app
34
+ RUN uv sync --no-cache --locked
35
35
36
36
# Environment variables (set these when running the container)
37
37
# SNOWFLAKE_BASE_URL - Snowflake API base URL (optional, defaults to Red Hat's instance)
You can’t perform that action at this time.
0 commit comments