Update Dockerfile
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user