This commit is contained in:
2025-08-25 20:40:26 -04:00
parent dc0cd946c2
commit efa2ee5b59
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# Multi-stage build for React frontend
FROM node:18-alpine AS builder
FROM node:24-alpine AS builder
WORKDIR /app
@ -16,7 +16,7 @@ COPY . .
RUN npm run build
# Production stage with nginx
FROM nginx:alpine
FROM docker.io/library/nginx:alpine
# Copy built application
COPY --from=builder /app/build /usr/share/nginx/html

View File

@ -1,3 +1,5 @@
error_log /var/log/nginx/error.log warn;
server {
listen 80;
server_name localhost;

View File

@ -1,7 +1,7 @@
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {