Start RezeptSuite in a Docker container
The file "rezeptsuite.client.fx.jar" is required, available in the installation files for the respective operating system.
Save the following content as a file named "Dockerfile":
FROM eclipse-temurin:21-jdk-jammy
RUN apt-get update && apt-get install -y --no-install-recommends openjfx && rm -rf /var/lib/apt/lists/*
ADD ./rezeptsuite.client.fx.jar /opt/rezeptsuite.client.fx.jar
EXPOSE 8000
ENTRYPOINT ["java", "--module-path", "/usr/share/openjfx/lib", "--add-modules", "javafx.controls,javafx.graphics", "-jar", "/opt/rezeptsuite.client.fx.jar", "server"]Run in the shell:
docker build . -t rezeptsuite
docker run -p 8000:8000 -v /PFAD-ZUM-REZEPTEDB-VERZEICHNIS/rezepteDB:/root/rezeptsuite/rezepteDB rezeptsuite:latest
After starting, the web interface of RezeptSuite can be accessed at http://localhost:8000.