Skip to content

Commit be0b2bd

Browse files
sec(dep): starlette
chore(Docker): fix
1 parent 288170f commit be0b2bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ FROM target AS all
126126
COPY --from=builder-all --chown=root:root --chmod=755 /app /app
127127

128128
# Provide writeable .cache folder for python sdk, used for token storage
129-
RUN mkdir -p /app/.cache
130-
RUN chmod 777 /app/.cache
129+
RUN mkdir -p /app/.cache && chown app:app /app/.cache && chmod 700 /app/.cache
131130

132131
# Run as nonroot
133132
USER app

0 commit comments

Comments
 (0)