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.

20 lines
641 B

FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
# Add dependencies
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)])"
# Build app
WORKDIR /app/code
RUN git clone . --branch "${VERSION_TAG}" --single-branch && make
# Setup start script, add clouron manifest
COPY /app/code/
RUN chmod +x /app/code/
COPY CloudronManifest.json /app/code/
CMD /app/code/