Fix ownership of app directory
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This seems to be causing an error on startup.
This commit is contained in:
parent
f6ccd9a3bd
commit
f66276c24f
@ -15,6 +15,7 @@ RUN addgroup -S minitor && adduser -S minitor -G minitor
|
||||
|
||||
# Copy scripts
|
||||
COPY ./scripts /app/scripts
|
||||
RUN chown -R minitor:minitor /app
|
||||
RUN chmod -R 755 /app/scripts
|
||||
|
||||
# Drop to non-root user
|
||||
|
@ -31,6 +31,7 @@ RUN addgroup -S minitor && adduser -S minitor -G minitor
|
||||
|
||||
# Copy scripts
|
||||
COPY ./scripts /app/scripts
|
||||
RUN chown -R minitor:minitor /app
|
||||
RUN chmod -R 755 /app/scripts
|
||||
|
||||
# Drop to non-root user
|
||||
|
Loading…
Reference in New Issue
Block a user