Fix Dockerfile images?
Some checks failed
Deploy API / docker (ubuntu-latest, 2.44.0) (push) Failing after 4s

This commit is contained in:
Braydon 2024-09-08 16:27:31 -04:00
parent 025c78556b
commit 210d1c43d1

@ -1,5 +1,5 @@
# Stage 1: Build the application # Stage 1: Build the application
FROM maven:3.9.6-eclipse-temurin-17-alpine AS builder FROM 3.9.9-eclipse-temurin-21-alpine AS builder
# Set the working directory # Set the working directory
WORKDIR /home/container WORKDIR /home/container
@ -11,7 +11,7 @@ COPY . .
RUN mvn package -q -Dmaven.test.skip -DskipTests -T2C RUN mvn package -q -Dmaven.test.skip -DskipTests -T2C
# Stage 2: Create the final lightweight image # Stage 2: Create the final lightweight image
FROM eclipse-temurin:17.0.11_9-jre-focal FROM eclipse-temurin:21-jre-alpine
# Set the working directory # Set the working directory
WORKDIR /home/container WORKDIR /home/container