undo 1 back image
This commit is contained in:
parent
c1118ae1f2
commit
ddb07284a3
@ -66,9 +66,9 @@ services:
|
||||
- "traefik.enable=true"
|
||||
|
||||
samplefamback:
|
||||
image: tds/back
|
||||
image: samplefam/back
|
||||
build:
|
||||
context: tds-back
|
||||
context: samplefam-back
|
||||
args:
|
||||
jarargs: -Dspring.profiles.active=sample
|
||||
container_name: samplefam-api
|
||||
|
||||
1
makefile
1
makefile
@ -28,6 +28,7 @@ build-sample-docker-images:
|
||||
mkdir -p ./sample-front/dist
|
||||
cp -r ../familySite1Frontend/dist/familySite1 ./sample-front/dist/
|
||||
cp ../familySite1Frontend/Dockerfile ./sample-front/
|
||||
cp -r ./tds-back/ ./sample-back/
|
||||
|
||||
deploy:
|
||||
docker compose up -d --build --remove-orphans
|
||||
|
||||
10
sample-back/Dockerfile
Normal file
10
sample-back/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM openjdk:24-jdk-slim
|
||||
|
||||
ARG JAR_FILE=target/*.jar
|
||||
COPY ${JAR_FILE} app.jar
|
||||
|
||||
ARG jarargs=''
|
||||
ENV myArgs=$jarargs
|
||||
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT java -jar $myArgs /app.jar
|
||||
BIN
sample-back/target/familySite1Backend1-0.1.0.jar
Executable file
BIN
sample-back/target/familySite1Backend1-0.1.0.jar
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user