Set permissions for dirs in docker image
This commit is contained in:
+2
-1
@@ -22,7 +22,8 @@ RUN adduser -D -g '' appuser
|
||||
COPY --from=builder /app/quay .
|
||||
|
||||
RUN mkdir -p /storage /config && \
|
||||
chown -R appuser:appuser /app /storage /config
|
||||
chmod -R 777 /storage /config && \
|
||||
chown -R appuser:appuser /app
|
||||
|
||||
USER appuser
|
||||
|
||||
|
||||
Reference in New Issue
Block a user