Skip to content

Commit

Permalink
updated dockerfile, add folder for selenium cache (linux specific)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxchernohorntt committed May 14, 2024
1 parent 19aaf12 commit de00261
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cccm-automation-test-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ RUN wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor
#copy jar from docker build
COPY --from=build ./home/app/target/cccm-automation-test-ui-0.0.1-SNAPSHOT-test-jar-with-dependencies.jar .

RUN mkdir -v seleniumCache resolutionCache

#EXPOSE 8080
ENTRYPOINT ["java","-Xss2048k","-jar","cccm-automation-test-ui-0.0.1-SNAPSHOT-test-jar-with-dependencies.jar", "regression=true"]
ENTRYPOINT ["java","-Xss2048k","-jar", "-Dwdm.cachePath=seleniumCache", "-Dwdm.resolutionCachePath=resolutionCache", "cccm-automation-test-ui-0.0.1-SNAPSHOT-test-jar-with-dependencies.jar", "regression=true"]

0 comments on commit de00261

Please sign in to comment.