From 718072a91c9a698dcdfcd2fc47dc5fd7e2547f0a Mon Sep 17 00:00:00 2001 From: Jan Martin Keil Date: Fri, 7 Jun 2024 00:06:23 +0200 Subject: [PATCH] fix docker build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0f83de9..a86053c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ FROM maven:3.9.7-eclipse-temurin-17 AS builder COPY . /var/abecto/ -RUN mvn -B -f /var/abecto/pom.xml package +RUN cd /var/abecto/ && mvn -B pom.xml package FROM eclipse-temurin:17-jre RUN echo '#!/bin/sh\nexec java -jar /opt/abecto.jar "$@"' >> /bin/abecto && chmod +x /bin/abecto