forked from OPEN-NEXT/LOSH-RDF-DB-tester
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (30 loc) · 851 Bytes
/
Dockerfile
File metadata and controls
41 lines (30 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# syntax=docker/dockerfile:1
# NOTE Lint this file with https://hadolint.github.io/hadolint/
# SPDX-FileCopyrightText: 2024-2025 Robin Vobruba <hoijui.quaero@gmail.com>
#
# SPDX-License-Identifier: Unlicense
FROM bitnami/java:21-debian-12
WORKDIR /srv/rdf
RUN install_packages \
ca-certificates \
git \
jq \
pv \
unzip \
wget
COPY run/_common ./run/
COPY run/install ./run/
RUN run/install
ENV DATA_DIR="/data"
ENV DB_BASE_DIR="/db"
RUN mkdir -p "$DATA_DIR"
RUN mkdir -p "$DB_BASE_DIR"
COPY res ./res
COPY run ./run
RUN run/fill-db --debug-loading --skip-compacting --samples
# NOTE Labels and annotations are added by CI (outside this Dockerfile);
# see `.github/workflows/docker.yml`.
# This also means they will not be available in local builds.
ENTRYPOINT ["run/web-ui"]
CMD ["--port", "80"]
EXPOSE 80