terminusdb-app/Dockerfile

18 lines
458 B
Docker

FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
ARG VERSION=4.2.0
WORKDIR /app/code
RUN curl -L https://github.com/terminusdb/terminusdb/releases/download/v${VERSION}/terminusdb_${VERSION}_amd64.deb -o terminusdb.deb \
&& apt-get update \
&& apt-get install ./terminusdb.deb -y \
&& apt-get clean \
&& rm terminusdb.deb
COPY start.sh /app/code/start.sh
RUN chmod +x /app/code/start.sh
CMD start.sh