Skip to content

Commit

Permalink
chore: use JSON arguments for CMD in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsOveTen committed Sep 9, 2024
1 parent 88c1e12 commit 82de411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 82de411

Please sign in to comment.