mirror of
https://github.com/GhaymahCloud/Ghaymah-java-starter.git
synced 2026-10-17 01:36:11 +00:00
Update Dockerfile: Use Maven base image for Java build
This commit is contained in:
+2
-2
@@ -1,10 +1,10 @@
|
||||
FROM openjdk:17-jdk-slim
|
||||
FROM maven:3.9-eclipse-temurin-17-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN ./mvnw package -DskipTests
|
||||
RUN mvn package -DskipTests
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
|
||||
Reference in New Issue
Block a user