feat: Add Docker support for Java-free environments

This commit is contained in:
Mark Schmitt
2026-05-17 10:08:54 +02:00
parent 721986106c
commit cf3c1fca4a
4 changed files with 35 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM eclipse-temurin:25-jdk AS build
WORKDIR /build
COPY . ./
RUN find .
RUN ./mvnw clean package -DskipTests
FROM eclipse-temurin:25-jre
WORKDIR /app
COPY --from=build /build/target/ollama-oai-bridge.jar ./ollama-oai-bridge.jar
COPY start.sh /app/start.sh
EXPOSE 11434
ENTRYPOINT ["/app/start.sh"]