Skip to content

Commit

Permalink
Update dockerfile to use tc7
Browse files Browse the repository at this point in the history
  • Loading branch information
phuonghuynh committed Jun 15, 2020
1 parent 67180d4 commit 6905b48
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 mkdir -p dist
RUN cp -f src/iso-registry-client/target/*.war dist
RUN cp -f src/iso-registry-soap/target/*.war dist

FROM tomcat:8-jre8-alpine
FROM tomcat:7-jre8-alpine
RUN value=`cat /usr/local/tomcat/conf/server.xml` && echo "${value//8080/80}" >| /usr/local/tomcat/conf/server.xml
RUN rm -Rf /usr/local/tomcat/webapps
COPY --from=APP /app/dist/isoreg.war /usr/local/tomcat/webapps/ROOT.war
Expand Down

0 comments on commit 6905b48

Please sign in to comment.