We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 288170f commit be0b2bdCopy full SHA for be0b2bd
Dockerfile
@@ -126,8 +126,7 @@ FROM target AS all
126
COPY --from=builder-all --chown=root:root --chmod=755 /app /app
127
128
# Provide writeable .cache folder for python sdk, used for token storage
129
-RUN mkdir -p /app/.cache
130
-RUN chmod 777 /app/.cache
+RUN mkdir -p /app/.cache && chown app:app /app/.cache && chmod 700 /app/.cache
131
132
# Run as nonroot
133
USER app
0 commit comments