File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,16 @@ COPY README.md ./
15
15
# Copy application files (needed for editable install)
16
16
COPY ./src/ ./src/
17
17
18
+ # Set permissions for OpenShift compatibility
19
+ # OpenShift runs containers with random user IDs, so we need to ensure
20
+ # the app directory and subdirectories are writable by the group
21
+ RUN chgrp -R 0 /app && \
22
+ chmod -R g=u /app
23
+
18
24
# Create cache directory with proper permissions and install dependencies
19
- RUN uv sync --no-cache --locked
25
+ RUN uv sync --no-cache --locked && \
26
+ chgrp -R 0 /app/.venv && \
27
+ chmod -R g=u /app/.venv
20
28
21
29
# Environment variables (set these when running the container)
22
30
# 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