Skip to content

Commit

Permalink
fix: tomcat config
Browse files Browse the repository at this point in the history
  • Loading branch information
QizhengMo committed Jan 10, 2024
1 parent 1c3772e commit 6ade9e7
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 6ade9e7

Please sign in to comment.