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.
11 lines
360 B
11 lines
360 B
FROM rust:1-buster as builder
|
|
|
|
COPY . /oxigraph
|
|
RUN cd /oxigraph/wikibase && cargo build --release
|
|
|
|
FROM debian:buster-slim
|
|
|
|
RUN apt-get update && apt-get install ca-certificates -y && rm -rf /var/lib/apt/lists/*
|
|
COPY --from=builder /oxigraph/target/release/oxigraph_wikibase /usr/local/bin/oxigraph_wikibase
|
|
|
|
ENTRYPOINT [ "/usr/local/bin/oxigraph_wikibase" ]
|
|
|