Skip to content

Commit fe54889

Browse files
authored
Merge pull request #89 from NYU-RTS/bugfix
prod containerfile: fix perms
2 parents aa3dda9 + 4aa5b39 commit fe54889

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Containerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LABEL name="coldfront" \
88
RUN dnf install -y python3.12 && dnf update -y
99

1010
COPY . /app
11-
# For the files that were copied in during the build
11+
1212
RUN chown -R 1001:0 /app && \
1313
chmod -R g+rwx /app
1414

@@ -41,3 +41,9 @@ EXPOSE 5678
4141

4242
RUN chown -R 1001:0 /tmp/uv && \
4343
chmod -R g=u /tmp/uv
44+
45+
# Terrible hack for now :( )
46+
USER 0
47+
RUN chown -R 1001:0 /app && \
48+
chmod -R g+rwx /app
49+
USER 1001

0 commit comments

Comments
 (0)