feat: add S3 configuration and utility functions for blog image handling
All checks were successful
CI - Build and Push / Build and Push Docker Image (push) Successful in 17s

This commit is contained in:
2025-10-26 07:56:19 +08:00
parent 031c2b25e2
commit 7f58c9c847
10 changed files with 98 additions and 30 deletions

View File

@@ -13,6 +13,14 @@ RUN npm ci
# Copy project files
COPY . .
# Build arguments for environment variables
ARG VITE_S3_ENDPOINT_BLOG
ARG VITE_S3_BUCKET_BLOG
# Set environment variables for Vite build
ENV VITE_S3_ENDPOINT_BLOG=${VITE_S3_ENDPOINT_BLOG}
ENV VITE_S3_BUCKET_BLOG=${VITE_S3_BUCKET_BLOG}
# Build the application
RUN npm run build