diff --git a/Dockerfile b/Dockerfile index b6c7e88..b735d22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY . . RUN mvn clean package -DskipTests # Stage 2: Run -FROM openjdk:21-jdk +FROM eclipse-temurin:21-jdk WORKDIR /app COPY --from=build /app/bootstrap/target/*.jar app.jar EXPOSE 80 diff --git a/Makefile b/Makefile index 26a9cc4..c858812 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,7 @@ push: run: docker run -d \ --name $(APP_NAME) \ + --network andromeda \ -p $(HOST_PORT):$(CONTAINER_PORT) \ --env-file .env \ $(IMAGE_FULL)