Skip to content

Commit

Permalink
Merge pull request #78 from ADORSYS-GIS/56-image-repository-and-conta…
Browse files Browse the repository at this point in the history
…iner-registry-for-the-backende8

56 image repository and container registry for the backende8
  • Loading branch information
Elwizzy12 authored Nov 19, 2024
2 parents dd434f9 + c9963d4 commit 8a29e09
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Run stage
FROM openjdk:17-jdk-slim

WORKDIR /webank-OnlineBanking

# py the JAR file from the online-banking-app module
COPY ./online-banking-app/target/online-banking-app-0.1-SNAPSHOT.jar /webank-OnlineBanking/online-banking-app-0.1-SNAPSHOT.jar

# Expose the port your app runs on
EXPOSE 8080

# Run the application
CMD ["java", "-jar", "/webank-OnlineBanking/online-banking-app-0.1-SNAPSHOT.jar"]
2 changes: 1 addition & 1 deletion online-banking-app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ build/
!**/src/test/**/build/

### VS Code ###
.vscode/
.vscode/

0 comments on commit 8a29e09

Please sign in to comment.