Skip to content

Commit e017536

Browse files
fabio-rovaiclaude
andcommitted
fix: add runtime libs and remove init from Dockerfile
Add libssl3 and libpq5 to runtime stage. Remove `open-ontologies init` since the server creates the db on first run. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e2d769a commit e017536

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎Dockerfile‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ FROM debian:bookworm-slim
1313

1414
LABEL io.modelcontextprotocol.server.name="io.github.fabio-rovai/open-ontologies"
1515

16-
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/*
16+
RUN apt-get update && apt-get install -y --no-install-recommends \
17+
ca-certificates libssl3 libpq5 && rm -rf /var/lib/apt/lists/*
1718

1819
COPY --from=builder /build/target/release/open-ontologies /usr/local/bin/open-ontologies
1920

20-
RUN open-ontologies init
21-
2221
ENTRYPOINT ["open-ontologies"]
2322
CMD ["serve"]

0 commit comments

Comments
 (0)