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 6, 2024
1 parent 3154a7d commit 1cbbd0d
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 1cbbd0d

Please sign in to comment.