From 82de411b80343bcb447ec9e06af7d6a6edcbcbc6 Mon Sep 17 00:00:00 2001 From: Nils Ove Tendenes Date: Fri, 6 Sep 2024 13:36:25 +0200 Subject: [PATCH] chore: use JSON arguments for CMD in Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cf0f001..29349f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,4 @@ RUN addgroup --gid 1001 --system app && \ chmod 770 /app USER app:app COPY --chown=app:app --from=build /app/target/fdk-dataset-preview-service.jar ./ -CMD java -Xss10m -jar fdk-dataset-preview-service.jar +CMD ["sh", "-c", "java -Xss10m -jar fdk-dataset-preview-service.jar"]