Skip to content

Commit

Permalink
fix: tomcat config (#350)
Browse files Browse the repository at this point in the history
(cherry picked from commit 255ab76)
  • Loading branch information
QizhengMo committed Jan 10, 2024
1 parent afc9a08 commit aca57c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN mvn clean package -DskipTests
FROM tomcat:9.0-jdk8-openjdk
COPY --from=builder /usr/src/app/arex-web-api/target/arex-platform-web-service.war /usr/local/tomcat/webapps/arex-platform-web-service.war
WORKDIR /usr/local/tomcat/conf
RUN sed -i 'N;152a\\t<Context path="" docBase="arex-platform-web-service.war" reloadable="true" />' server.xml
RUN sed -i 'N;152a\\t<Context path="" docBase="arex-platform-web-service.war" />' server.xml

WORKDIR /usr/local/tomcat
EXPOSE 8080
Expand Down

0 comments on commit aca57c6

Please sign in to comment.