Skip to content

Commit

Permalink
Optimize OpenCV library usage for Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
keke125 committed May 28, 2023
1 parent c170c1e commit c152a88
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
FROM eclipse-temurin:17-jdk
MAINTAINER admin@keke125.com

COPY opencv/docker-linux-install.sh /app/docker-linux-install.sh

RUN ["chmod", "+x", "/app/docker-linux-install.sh"]
RUN /app/docker-linux-install.sh
COPY target/*.jar /app/pafw.jar
EXPOSE 8080
ENTRYPOINT ["java","-Djava.library.path=/app", "-jar", "/app/pafw.jar"]
ENTRYPOINT ["java", "-jar", "/app/pafw.jar"]

0 comments on commit c152a88

Please sign in to comment.