From 0636f4dfbfeb83570959ae915cf0a1769f37c0d1 Mon Sep 17 00:00:00 2001 From: Mohammad Kiani Date: Mon, 19 Jan 2026 11:56:34 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c2dc2af..ddf242d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,9 @@ WORKDIR /app COPY package*.json ./ -RUN npm confing set registery https://mirror-npm.runflare.com +RUN npm config set registry https://mirror-npm.runflare.com + +RUN npm install --force COPY . . @@ -14,5 +16,4 @@ RUN ls -la EXPOSE 3000 -CMD ["npx", "vite", "preview", "--host", "0.0.0.0", "--port", "3000"] - +CMD ["npx", "vite", "preview", "--host", "0.0.0.0", "--port", "3000"] \ No newline at end of file