We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c750a5d commit 36132e8Copy full SHA for 36132e8
2 files changed
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM maven:3-amazoncorretto-21 AS base
+FROM maven:3-eclipse-temurin-21 AS base
2
3
FROM base AS builder
4
WORKDIR /app
@@ -16,7 +16,8 @@ WORKDIR /app/forms/target/deps
16
RUN jar -xf ../*.jar
17
18
# Build the runtime image
19
-FROM openjdk:21-jdk-slim AS runtime
+FROM eclipse-temurin:21-jre-alpine AS runtime
20
+RUN apk add --no-cache bash curl
21
WORKDIR /opt/devgateway/tcdi/admin
22
23
# Copy the application code
docker-compose.yml
@@ -1,6 +1,9 @@
services:
web:
- image: data-viz-admin:latest
+ build:
+ context: .
5
+ dockerfile: Dockerfile
6
+ restart: unless-stopped
7
environment:
8
SPRING_DATASOURCE_JDBC_URL: "jdbc:postgresql://postgres:5432/tcdi_admin"
9
SPRING_JPA_HIBERNATE_DDL-AUTO: "update"
0 commit comments