chore: add documentation
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user