Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman3455 committed Dec 30, 2024
1 parent a7bf66b commit 666c1c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM gradle:8.7-jdk21

WORKDIR /app

COPY /app .

RUN gradle installDist

CMD ./build/install/app/bin/app
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ report:
make -C app report

start: dev
build-run: clean build installDist dev lint test report
build-run: clean build installDist lint test report

.PHONY: build
2 changes: 1 addition & 1 deletion app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ report:
./gradlew jacocoTestReport

start: dev
build-run: clean build installDist dev lint test report
build-run: clean build installDist lint test report

.PHONY: build

0 comments on commit 666c1c5

Please sign in to comment.