Skip to content

Commit

Permalink
Merge pull request #27 from neuefische/dockerfile
Browse files Browse the repository at this point in the history
Docker support added
  • Loading branch information
pavlo-bystrytskyi authored Oct 17, 2024
2 parents b443315 + 64b4a72 commit 56c49d0
Show file tree
Hide file tree
Showing 10 changed files with 3,336 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM --platform=linux/amd64 openjdk:21
EXPOSE 8080
ADD backend/target/app.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]
6 changes: 6 additions & 0 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,15 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>de.neuefische.java</groupId>
<artifactId>spring-boot-starter-fallback-page</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>

<build>
<finalName>app</finalName>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions backend/src/main/resources/static/assets/index-f40OySzR.js

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions backend/src/main/resources/static/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="/assets/index-f40OySzR.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DiwrgTda.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
1 change: 1 addition & 0 deletions backend/src/main/resources/static/vite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 56c49d0

Please sign in to comment.