Skip to content

Commit

Permalink
fix: recursive directory permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
SantioMC committed Dec 11, 2024
1 parent 16fac6a commit 5f46085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN ./gradlew openApiGenerate shadowJar --no-daemon
FROM base AS runtime
COPY --from=build /app/build/libs/*.jar app.jar

RUN chmod 700 /app && chown 1000:1000 /app
RUN chmod -R 700 /app && chown -R 1000:1000 /app
USER 1000:1000

ENTRYPOINT ["java", "-jar", "app.jar"]

0 comments on commit 5f46085

Please sign in to comment.