Add BUILD_DATE arg for cache busting in Docker builds

This commit is contained in:
2026-01-06 02:14:44 +01:00
parent 34f3086899
commit c5cdce28e9
2 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,10 @@
# Build stage
FROM node:20-alpine AS builder
# Cache buster - wijzig BUILD_DATE in docker-compose om rebuild te forceren
ARG BUILD_DATE=unknown
RUN echo "Build date: $BUILD_DATE"
# Install build dependencies for better-sqlite3
RUN apk add --no-cache python3 make g++