feat: Add Docker support for Java-free environments
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user