chore: add documentation

This commit is contained in:
2022-10-13 18:15:20 +02:00
parent 76d8b3868a
commit cb4f9b2766
3 changed files with 114 additions and 29 deletions

View File

@@ -10,16 +10,12 @@ RUN java -Djarmode=layertools -jar bousole-pluss-backend.jar extract
FROM eclipse-temurin:17-jre-alpine
EXPOSE 8080
USER root
RUN addgroup -S pluss && adduser -S pluss -G pluss
ENV CORS_ALLOWED_ORIGINS=$CORS_ALLOWED_ORIGINS
USER pluss:pluss
WORKDIR /app
COPY --chown=pluss:pluss --from=builder /app/dependencies/ ./
COPY --chown=pluss:pluss --from=builder /app/snapshot-dependencies/ ./
COPY --chown=pluss:pluss --from=builder /app/spring-boot-loader/ ./
COPY --chown=pluss:pluss --from=builder /app/application/ ./
ENTRYPOINT java org.springframework.boot.loader.JarLauncher
COPY --from=builder /app/dependencies/ ./
COPY --from=builder /app/snapshot-dependencies/ ./
COPY --from=builder /app/spring-boot-loader/ ./
COPY --from=builder /app/application/ ./
ENTRYPOINT java org.springframework.boot.loader.JarLauncher