From 72130dd1a9ef017e6d686f293320ff04f618d002 Mon Sep 17 00:00:00 2001 From: hardik Date: Mon, 29 Sep 2025 17:37:42 +0530 Subject: [PATCH] changed docker --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b5714037..caa90f42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,10 +4,12 @@ WORKDIR /app # Copy package files and install dependencies COPY package.json package-lock.json ./ -# ...existing code... RUN npm install + +# Fix Windows line endings and permissions for Vite binary +RUN apt-get update && apt-get install -y dos2unix +RUN dos2unix node_modules/.bin/vite RUN chmod +x node_modules/.bin/vite -# ...existing code... # Copy the rest of the source code COPY . .