This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Basis-Image: Payara Micro 6 + JDK 17
|
||||
FROM payara/micro:6.2024.6-jdk17
|
||||
|
||||
# WAR ins Deploy-Verzeichnis kopieren
|
||||
# WAR ins Payara-Deploy-Verzeichnis kopieren
|
||||
COPY my-app/target/env-demo-1.0-SNAPSHOT.war $DEPLOY_DIR
|
||||
|
||||
# Start des Containers
|
||||
CMD ["--noCluster"]
|
||||
# Container starten mit automatischem Deployment
|
||||
CMD ["--noCluster", "--deploy", "/opt/payara/deployments/env-demo-1.0-SNAPSHOT.war"]
|
||||
|
||||
Reference in New Issue
Block a user