Add build options and docker, make relay info available through env

This commit is contained in:
@s.roertgen 2024-12-12 17:36:45 +01:00
parent e5ff9265b4
commit a34d07d365
10 changed files with 158 additions and 67 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
# Use a minimal OpenJDK runtime image
FROM openjdk:17-jdk-slim
# Set the working directory
WORKDIR /app
# Copy the Uberjar into the image
COPY target/app.jar .
COPY resources ./resources
# Expose the application's port
EXPOSE 8890
# Run the Uberjar
CMD ["java", "-jar", "app.jar"]