Fix ownership of app directory

This seems to be causing an error on startup.
This commit is contained in:
IamTheFij
2019-12-21 08:26:04 -08:00
parent f6ccd9a3bd
commit f66276c24f
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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
+1
View File
@@ -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