feat: Update Dockerfile for multi-platform support and add nginx configuration

This commit is contained in:
2026-01-06 16:38:33 +01:00
parent 06d150b8c5
commit b2527ed041
7 changed files with 65 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
# === Stage 1: Build the Play application ===
FROM sbtscala/scala-sbt:eclipse-temurin-alpine-22_36_1.10.3_3.5.1 AS builder
FROM --platform=$BUILDPLATFORM sbtscala/scala-sbt:eclipse-temurin-alpine-22_36_1.10.3_3.5.1 AS builder
WORKDIR /app
@@ -21,7 +21,7 @@ COPY . .
RUN sbt -Dscoverage.skip=true clean stage
# === Stage 2: Runtime image ===
FROM eclipse-temurin:21-jre-alpine
FROM --platform=$TARGETPLATFORM eclipse-temurin:22-jre-alpine
# Install Argon2 CLI and libraries
RUN apk add --no-cache bash argon2 argon2-libs