Update Dockerfile

This commit is contained in:
2026-01-19 11:56:34 +00:00
parent 3830d19fd6
commit 0636f4dfbf

View File

@@ -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 . .
@@ -15,4 +17,3 @@ RUN ls -la
EXPOSE 3000
CMD ["npx", "vite", "preview", "--host", "0.0.0.0", "--port", "3000"]