Clone directly to /app/code; add CloudronManifest.json to image
This commit is contained in:
@ -6,14 +6,14 @@ 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 git clone https://github.com/terminusdb/terminusdb . && make
|
||||
|
||||
RUN mkdir -p /app/data
|
||||
|
||||
COPY start.sh /app/code/start.sh
|
||||
COPY start.sh /app/code/
|
||||
RUN chmod +x /app/code/start.sh
|
||||
|
||||
COPY CloudronManifest.json /app/code/
|
||||
|
||||
CMD /app/code/start.sh
|
||||
|
||||
|
Reference in New Issue
Block a user