Fix ownership of app directory
This seems to be causing an error on startup.
This commit is contained in:
@@ -15,6 +15,7 @@ RUN addgroup -S minitor && adduser -S minitor -G minitor
|
|||||||
|
|
||||||
# Copy scripts
|
# Copy scripts
|
||||||
COPY ./scripts /app/scripts
|
COPY ./scripts /app/scripts
|
||||||
|
RUN chown -R minitor:minitor /app
|
||||||
RUN chmod -R 755 /app/scripts
|
RUN chmod -R 755 /app/scripts
|
||||||
|
|
||||||
# Drop to non-root user
|
# Drop to non-root user
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ RUN addgroup -S minitor && adduser -S minitor -G minitor
|
|||||||
|
|
||||||
# Copy scripts
|
# Copy scripts
|
||||||
COPY ./scripts /app/scripts
|
COPY ./scripts /app/scripts
|
||||||
|
RUN chown -R minitor:minitor /app
|
||||||
RUN chmod -R 755 /app/scripts
|
RUN chmod -R 755 /app/scripts
|
||||||
|
|
||||||
# Drop to non-root user
|
# Drop to non-root user
|
||||||
|
|||||||
Reference in New Issue
Block a user