Spaces:
Runtime error
Runtime error
Commit ·
ab6f2ff
1
Parent(s): 6a6be6d
Fix Dockerfile: Use correct eclipse-temurin OpenJDK images for HF Space compatibility
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Multi-stage build for da-autodelete microservice
|
| 2 |
# Build stage
|
| 3 |
-
FROM
|
| 4 |
|
| 5 |
# Set working directory
|
| 6 |
WORKDIR /app
|
|
@@ -25,7 +25,7 @@ COPY src src
|
|
| 25 |
RUN ./gradlew build -x test --no-daemon
|
| 26 |
|
| 27 |
# Runtime stage
|
| 28 |
-
FROM
|
| 29 |
|
| 30 |
# Install curl for health checks
|
| 31 |
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
|
|
|
| 1 |
# Multi-stage build for da-autodelete microservice
|
| 2 |
# Build stage
|
| 3 |
+
FROM eclipse-temurin:21-jdk AS build
|
| 4 |
|
| 5 |
# Set working directory
|
| 6 |
WORKDIR /app
|
|
|
|
| 25 |
RUN ./gradlew build -x test --no-daemon
|
| 26 |
|
| 27 |
# Runtime stage
|
| 28 |
+
FROM eclipse-temurin:21-jre
|
| 29 |
|
| 30 |
# Install curl for health checks
|
| 31 |
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|