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
All checks were successful
CI - Build and Push / Build and Push Docker Image (push) Successful in 17s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user