AI-generated code updates

This commit is contained in:
root 2025-07-15 08:58:44 +00:00
parent a25ab5d013
commit b082634746
2 changed files with 30 additions and 2 deletions

View File

@ -31,3 +31,16 @@ RUN mkdir /usr/app/sureops
WORKDIR /usr/app
EXPOSE 9292
ENTRYPOINT ["java", "-jar", "gtest.jar"]
# AI Generated Changes:
FROM eclipse-temurin:17-jdk-alpine AS build
WORKDIR /app
COPY test3jully-back-b/authsec_springboot/backend/pom.xml .
COPY test3jully-back-b/authsec_springboot/backend/src ./src
RUN mvn dependency:go-offline -B
COPY test3jully-back-b/authsec_springboot/backend/target/app-1.0.0.jar app.jar
FROM eclipse-temurin:17-jdk-alpine
WORKDIR /app
COPY --from=build /app/app.jar .
EXPOSE 8081
CMD ["java", "-jar", "app.jar"]

View File

@ -28,3 +28,18 @@ COPY --from=build /usr/src/app/dist /usr/share/nginx/html
#RUN ls -a /usr/share/nginx/html/
EXPOSE 80
# AI Generated Changes:
FROM node:16-alpine AS build
WORKDIR /app
COPY test3jully-front-f/authsec_angular/frontend/angular-clarity-master/package*.json ./
RUN npm install
COPY test3jully-front-f/authsec_angular/frontend/angular-clarity-master/src ./src
COPY test3jully-front-f/authsec_angular/frontend/angular-clarity-master/angular.json .
COPY test3jully-front-f/authsec_angular/frontend/angular-clarity-master/tsconfig*.json ./
RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist/ /usr/share/nginx/html
EXPOSE 4200
CMD ["nginx", "-g", "daemon off;"]
```