FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
samples-java/java-dedup/Dockerfile.classpath at codex/java-dedup-sample · keploy/samples-java · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
keploy
/
samples-java
Public
Notifications
You must be signed in to change notification settings
Fork
64
Star
20
Code
Pull requests
18
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
samples-java
/
java-dedup
/
Dockerfile.classpath
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (12 loc) · 637 Bytes
Breadcrumbs
samples-java
/
java-dedup
/
Dockerfile.classpath
Copy path
File metadata and controls
17 lines (12 loc) · 637 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ARG JAVA_VERSION=8
FROM eclipse-temurin:${JAVA_VERSION}-jre
WORKDIR /app
RUN groupadd --gid 10001 appuser \
&& useradd --uid 10001 --gid 10001 --home-dir /home/appuser --create-home --shell /usr/sbin/nologin appuser
COPY --chown=10001:10001 target/classes /app/classes
COPY --chown=10001:10001 target/dependency /app/libs
COPY --chown=10001:10001 target/jacocoagent.jar /app/jacocoagent.jar
ENV KEPLOY_JAVA_CLASS_DIRS=/app/classes
EXPOSE 8080
USER 10001:10001
ENTRYPOINT ["java", "-javaagent:/app/jacocoagent.jar=destfile=/tmp/jacoco.exec", "-cp", "/app/classes:/app/libs/*", "io.keploy.samples.javadedup.JavaDedupApplication"]
Back
|
FazBrowse Home
|
New Git URL