2 Commits
Author SHA1 Message Date
Liosha84andJunie 0680557886 fix(drone): use 'master' branch instead of 'main' for build-and-push trigger
continuous-integration/drone/pr Build is failing
Co-authored-by: Junie <junie@jetbrains.com>
2026-10-29 01:13:10 +01:00
Liosha84 3c85936c73 fix(docker): use correct Debian adduser syntax for non-interactive user creation
continuous-integration/drone/pr Build is failing
2026-10-29 00:59:44 +01:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ trigger:
event: event:
- push - push
branch: branch:
- main - master
steps: steps:
- name: build-and-push - name: build-and-push
+1 -1
View File
@@ -23,7 +23,7 @@ FROM eclipse-temurin:21-jre
WORKDIR /app WORKDIR /app
COPY --from=builder /app/build/libs/backend-0.0.1-SNAPSHOT.jar app.jar COPY --from=builder /app/build/libs/backend-0.0.1-SNAPSHOT.jar app.jar
RUN adduser -D -g "" appuser && \ RUN adduser --disabled-password --gecos "" appuser && \
chown appuser:appuser /app chown appuser:appuser /app
USER appuser USER appuser