FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Echo_Script/backend/Dockerfile at main · aminehabchi/Echo_Script · GitHub
aminehabchi
Echo_Script
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Echo_Script
/
backend
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (15 loc) · 402 Bytes
Breadcrumbs
Echo_Script
/
backend
/
Dockerfile
Copy path
File metadata and controls
22 lines (15 loc) · 402 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
18
19
20
21
22
#
Build stage
FROM
maven:3.9.3-eclipse-temurin-17 AS build
WORKDIR
/app
COPY
pom.xml .
COPY
mvnw .
COPY
.mvn .mvn
COPY
src src
RUN
mvn clean package -DskipTests
#
Run stage
FROM
eclipse-temurin:17-jdk
WORKDIR
/app
COPY
--from=build /app/target/backend-0.0.1-SNAPSHOT.jar app.jar
COPY
application-secret.properties application-secret.properties
EXPOSE
8080
ENTRYPOINT
[
"java"
,
"-jar"
,
"app.jar"
]
Back
|
FazBrowse Home
|
New Git URL