From 1dccbf14e265ceeaf8add71cc4eab4eda5c6de86 Mon Sep 17 00:00:00 2001 From: Shautvast Date: Mon, 30 Mar 2026 16:33:19 +0200 Subject: [PATCH] cd then maven --- backend/photon.Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/photon.Dockerfile b/backend/photon.Dockerfile index e12cf24..7d765ce 100644 --- a/backend/photon.Dockerfile +++ b/backend/photon.Dockerfile @@ -4,8 +4,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ git ca-certificates maven \ && rm -rf /var/lib/apt/lists/* -RUN git clone --depth=1 https://github.com/komoot/photon.git /photon -RUN cd /photon && mvn -q package -DskipTests +RUN git clone --depth=1 https://github.com/komoot/photon.git /photon \ + && cd /photon \ + && mvn -q package -DskipTests FROM docker.io/eclipse-temurin:21-jre