AI-generated code updates
This commit is contained in:
		
							parent
							
								
									a25ab5d013
								
							
						
					
					
						commit
						b082634746
					
				| @ -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"] | ||||
|  | ||||
| @ -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;"] | ||||
| ``` | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 root
						root