File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1- FROM maven:3-amazoncorretto -21 AS base
1+ FROM maven:3-eclipse-temurin -21 AS base
22
33FROM base AS builder
44WORKDIR /app
@@ -16,7 +16,8 @@ WORKDIR /app/forms/target/deps
1616RUN jar -xf ../*.jar
1717
1818# Build the runtime image
19- FROM openjdk:21-jdk-slim AS runtime
19+ FROM eclipse-temurin:21-jre-alpine AS runtime
20+ RUN apk add --no-cache bash curl
2021WORKDIR /opt/devgateway/tcdi/admin
2122
2223# Copy the application code
Original file line number Diff line number Diff line change 11services :
22 web :
3- image : data-viz-admin:latest
3+ build :
4+ context : .
5+ dockerfile : Dockerfile
6+ restart : unless-stopped
47 environment :
58 SPRING_DATASOURCE_JDBC_URL : " jdbc:postgresql://postgres:5432/tcdi_admin"
69 SPRING_JPA_HIBERNATE_DDL-AUTO : " update"
You can’t perform that action at this time.
0 commit comments