test build
Some checks failed
Deploy API / docker (ubuntu-latest, 2.44.0) (push) Failing after 19s

This commit is contained in:
Braydon 2024-09-08 20:56:49 -04:00
parent daa953d66d
commit be9cbc2de4

@ -8,11 +8,14 @@ WORKDIR /home/container
COPY . .
# Build the jar
RUN mvn package -q -Dmaven.test.skip -DskipTests -T2C
RUN mvn package -T2C -Dmaven.test.skip -DskipTests
# Stage 2: Create the final lightweight image
FROM eclipse-temurin:21-jre-alpine
# Install Git
RUN apt-get update && apt-get install git -y
# Set the working directory
WORKDIR /home/container