Skip to content

Commit 7ce02d9

Browse files
andriibiloussigmastrazhnykkarissarjacobsen
authored
Dockerize (#13)
* init Delete src/main/resources/private.key Signed-off-by: andriibiloussigma <[email protected]> * Add dockerization * remove application.json --------- Signed-off-by: andriibiloussigma <[email protected]> Co-authored-by: Rudyk <[email protected]> Co-authored-by: Karissa Jacobsen <[email protected]>
1 parent 76d0d10 commit 7ce02d9

File tree

3 files changed

+9
-40
lines changed

3 files changed

+9
-40
lines changed

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM maven:3.8-openjdk-17
2+
3+
WORKDIR /app
4+
5+
COPY . .
6+
RUN mvn dependency:go-offline -B
7+
RUN mvn clean install
8+
9+
CMD ["mvn", "spring-boot:run"]

src/main/resources/application.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

src/main/resources/private.key

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)