Skip to content

Commit

Permalink
Switch to generic eXist.
Browse files Browse the repository at this point in the history
See #1 for motivation and remaining TODOs.
  • Loading branch information
thvitt committed Dec 4, 2024
1 parent 4652dc6 commit bf84d34
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,15 @@ RUN a2enmod rewrite negotiation && \

###################################### eXist db ####################################################

FROM stadlerpeter/existdb:latest AS exist
ENV EXIST_ENV=production
ENV EXIST_DEFAULT_APP_PATH=xmldb:exist:///db/apps/faust-dev
USER wegajetty
ADD --chown=wegajetty:wegajetty http://exist-db.org/exist/apps/public-repo/public/shared-resources-0.9.1.xar ${EXIST_HOME}/autodeploy/
COPY --from=build --chown=wegajetty:wegajetty /home/gradle/faust-gen/build/faust-dev.xar ${EXIST_HOME}/autodeploy/
FROM existdb/existdb:latest AS exist
# ARG VERSION=6.2
# ENV EXIST_ENV=production
# ENV EXIST_DEFAULT_APP_PATH=xmldb:exist:///db/apps/faust-dev
# USER wegajetty
# ADD --chown=wegajetty:wegajetty http://exist-db.org/exist/apps/public-repo/public/shared-resources-0.9.1.xar ${EXIST_HOME}/autodeploy/
# COPY --from=build --chown=wegajetty:wegajetty /home/gradle/faust-gen/build/faust-dev.xar ${EXIST_HOME}/autodeploy/
ADD http://exist-db.org/exist/apps/public-repo/public/shared-resources-0.9.1.xar /exist/autodeploy/
COPY --from=build /home/gradle/faust-gen/build/faust-dev.xar /exist/autodeploy/


####################################### Macrogenesis server ########################################
Expand Down

0 comments on commit bf84d34

Please sign in to comment.