Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6666fca194 | ||
|
|
3a0c22abf0 | ||
|
|
8369b2a6ba | ||
|
|
3e78dcff0f |
+1
-1
@@ -21,7 +21,7 @@ trigger:
|
|||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
branch:
|
branch:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
|
|||||||
+1
-1
@@ -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 --disabled-password --gecos "" appuser && \
|
RUN adduser -D -g "" appuser && \
|
||||||
chown appuser:appuser /app
|
chown appuser:appuser /app
|
||||||
USER appuser
|
USER appuser
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user