scope maven build

This commit is contained in:
Terry Brady
2019-09-02 18:54:41 -07:00
parent d4df7b3c07
commit 50bfa62091

View File

@@ -25,7 +25,7 @@ ADD --chown=dspace . /app/
COPY dspace/src/main/docker/local.cfg /app/local.cfg
# Build DSpace. Copy the dspace-install directory to /install. Clean up the build to keep the docker image small
RUN mvn package && \
RUN mvn package -P dspace-api && \
mv /app/dspace/target/${TARGET_DIR}/* /install && \
mvn clean