diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..367d3c8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,41 @@ +# Build stage +FROM node:20-alpine AS builder + +WORKDIR /app + +COPY package*.json ./ +RUN npm ci + +COPY . . + +# Remove tailwind postcss config and delete tailwindcss to prevent auto-detection +RUN rm -f postcss.config.js tailwind.config.js +RUN npm uninstall tailwindcss @tailwindcss/postcss 2>/dev/null || true + +RUN npm run build + +# Production stage +FROM nginx:alpine + +COPY --from=builder /app/build /usr/share/nginx/html +COPY <