public code v1
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# ─── Compilar el proyecto ────────────────────────────────────────────────────
|
||||
build:
|
||||
image: maven:3.8.6-eclipse-temurin-11
|
||||
platform: linux/amd64
|
||||
volumes:
|
||||
- .:/project
|
||||
- maven-cache:/root/.m2
|
||||
working_dir: /project
|
||||
command: mvn clean install -Dmaven.test.skip=true
|
||||
|
||||
# ─── Ejecutar: abre http://localhost:6080 en el navegador ───────────────────
|
||||
run:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.run
|
||||
platform: linux/amd64
|
||||
volumes:
|
||||
- "./releng/flintstones.application.product/target/products/RCP product/linux/gtk/x86_64:/app:ro"
|
||||
ports:
|
||||
- "6080:6080"
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
maven-cache:
|
||||
Reference in New Issue
Block a user