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_INSTALLERROR: 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/62951fe6-7b11-4e17-a221-4f0dcab59251n%40googlegroups.com.

Reply via email to