Skip to content

Commit

Permalink
Small (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
preetkaran20 authored Dec 31, 2022
1 parent 6ac96e6 commit 204baa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM gradle:7.1.1-jdk8 as BUILDER
COPY --chown=gradle:gradle . /home
WORKDIR /home
COPY --chown=gradle:gradle . /home/VulnerableApp-jsp
WORKDIR /home/VulnerableApp-jsp
RUN gradle war

FROM tomcat:alpine
MAINTAINER KSASAN [email protected]
COPY --from=BUILDER /home/build/libs/VulnerableApp-jsp.war /usr/local/tomcat/webapps/
COPY --from=BUILDER /home/VulnerableApp-jsp/build/libs/VulnerableApp-jsp.war /usr/local/tomcat/webapps/

0 comments on commit 204baa3

Please sign in to comment.