mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
REPO-2915 Put exploded war into Docker
This commit is contained in:
@@ -4,7 +4,7 @@ RUN mkdir -p /usr/local/tomcat/shared/classes
|
||||
|
||||
RUN touch /usr/local/tomcat/shared/classes/alfresco-global.properties
|
||||
|
||||
COPY target/war/alfresco.war /usr/local/tomcat/webapps/alfresco.war
|
||||
COPY target/war /usr/local/tomcat/webapps
|
||||
COPY target/connector/* /usr/local/tomcat/lib/
|
||||
|
||||
RUN sed -i "s/shared.loader=/shared.loader=\${catalina.base}\/shared\/classes/" /usr/local/tomcat/conf/catalina.properties
|
||||
|
@@ -41,7 +41,7 @@
|
||||
<id>copy-resources</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>copy</goal>
|
||||
<goal>unpack</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
@@ -53,7 +53,7 @@
|
||||
<version>${project.version}</version>
|
||||
<type>war</type>
|
||||
<overWrite>false</overWrite>
|
||||
<outputDirectory>${project.build.directory}/war</outputDirectory>
|
||||
<outputDirectory>${project.build.directory}/war/alfresco</outputDirectory>
|
||||
<destFileName>alfresco.war</destFileName>
|
||||
</artifactItem>
|
||||
<artifactItem>
|
||||
|
Reference in New Issue
Block a user