Atualizações do Visuais

This commit is contained in:
2026-05-31 22:15:03 -03:00
parent 3ed2fcf0b7
commit 2bdce62414
77 changed files with 6675 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
FROM maven:3.9-eclipse-temurin-17 AS build
WORKDIR /app
COPY pom.xml .
RUN mvn dependency:go-offline -B
COPY src ./src
RUN mvn clean package -DskipTests
FROM eclipse-temurin:17-jre-alpine
WORKDIR /app
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
COPY --from=build /app/target/*.jar app.jar
RUN chown appuser:appgroup app.jar
USER appuser
EXPOSE 8080
ENV SPRING_PROFILES_ACTIVE=prod
ENV SERVER_PORT=8080
ENTRYPOINT ["java", "-jar", "app.jar"]