Hi, It appears that you are trying to use the Docker compose scripts for the backend available here: https://github.com/DSpace/DSpace/tree/main/dspace/src/main/docker-compose
However, it looks like your build command is incorrect. You are running: docker-compose -f docker-compose.yml -f src/main/docker-compose/docker-compose-angular.yml -f docker-compose.yml build In that command, you seem to be referencing "docker-compose.yml" twice (as the first and last "-f" command). This might be causing the build problems you are experiencing. If you want hints/tips on running the backend via Docker, then you should reference the README in that directory, see: https://github.com/DSpace/DSpace/blob/main/dspace/src/main/docker-compose/README.md If you have other questions, let us know on this list. Tim ________________________________ From: [email protected] <[email protected]> on behalf of BÁRÁNY Sándor <[email protected]> Sent: Wednesday, July 13, 2022 3:38 PM To: DSpace Technical Support <[email protected]> Subject: [dspace-tech] Please help with the Docker installation Dear tech gurus, I try to set up 7.x dspace with docker. The build as docker-compose -f docker-compose.yml -f src/main/docker-compose/docker-compose-angular.yml -f docker-compose.yml build resulted in the error message Step 19/24 : FROM tomcat:9-jdk${JDK_VERSION} ---> 8f6a7fbb92c1 Step 20/24 : ENV DSPACE_INSTALL=/dspace ---> Using cache ---> 4c5d10c0508f Step 21/24 : COPY --from=ant_build /dspace $DSPACE_INSTALL ERROR: Service 'dspace' failed to build: COPY failed: stat dspace: file does not exist where ENV ANT_VERSION 1.10.12 ENV ANT_HOME /tmp/ant-$ANT_VERSION ENV PATH $ANT_HOME/bin:$PATH ENV DSPACE_INSTALL=/home/dspace/dspace ENV JAVA_OPTS=-Xmx2000m I tried to trace the build and used RUN ls command, and have seen that at the point of "--from=ant_build" there is a fresh tomcat installation, with a webapps.dist directory; so I do not understand why the COPY tries to copy /dspace?? Please help. Regards -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/62951fe6-7b11-4e17-a221-4f0dcab59251n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/62951fe6-7b11-4e17-a221-4f0dcab59251n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/PH0PR22MB3274E45B6A6A1D8C9D2B6280ED889%40PH0PR22MB3274.namprd22.prod.outlook.com.
