diff --git a/Dockerfile b/Dockerfile index 46f26b0..ef0d0b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM --platform=linux/amd64 node:20-alpine as build WORKDIR /app -# Essential build dependencies only +# Essential build dependencies RUN apk add --no-cache python3 make g++ curl git libc6-compat # Install dependencies from package.json @@ -14,7 +14,7 @@ RUN npm install -g typescript COPY . . RUN npm run build -# Production stage - static files only +# Production stage FROM nginx:alpine COPY --from=build /app/dist /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf