20 lines
534 B
Docker
20 lines
534 B
Docker
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
|
|
|
|
ARG VERSION=4.2.0
|
|
|
|
WORKDIR /app/code
|
|
|
|
RUN sudo apt-add-repository ppa:swi-prolog/stable && apt-get update && apt-get install cargo swi-prolog -y && apt-get clean
|
|
RUN swipl -g "pack_install(terminus_store_prolog, [interactive(false)])"
|
|
RUN git clone https://github.com/terminusdb/terminusdb \
|
|
&& cd terminusdb \
|
|
&& make
|
|
|
|
RUN mkdir -p /app/data
|
|
|
|
COPY start.sh /app/code/start.sh
|
|
RUN chmod +x /app/code/start.sh
|
|
|
|
CMD /app/code/start.sh
|
|
|