Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
oxigraph/server/Dockerfile

21 lines
505 B

FROM rust:1-bullseye as builder
RUN apt-get update && \
apt-get install -y libclang-dev clang
COPY . /oxigraph
WORKDIR /oxigraph/server
RUN cargo build --release
FROM debian:bullseye-slim
RUN apt-get update && \
apt-get install -y ca-certificates && \
rm -rf /var/lib/apt/lists/*
COPY --from=builder /oxigraph/target/release/oxigraph_server /usr/local/bin/oxigraph_server
ENTRYPOINT [ "/usr/local/bin/oxigraph_server" ]
CMD [ "--location", "/data", "serve", "--bind", "0.0.0.0:7878" ]