From 97bb96f5712a067f6518465707443028fb3d7991 Mon Sep 17 00:00:00 2001 From: wenyang <86756816+wenyang0@users.noreply.github.com> Date: Fri, 18 Aug 2023 11:04:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20docker=20=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit update dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0b48b93..fe62d98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ EXPOSE 5173 WORKDIR /app # Set the Yarn registry to Taobao mirror and install dependencies using yarn install -RUN yarn config set registry 'https://registry.npm.taobao.org' && yarn install +RUN yarn config set registry 'https://registry.npm.taobao.org' && yarn install && yarn cache clean # Run the command to start the container, which will run the project in development mode and listen on port 5173 of address 0.0.0.0 CMD yarn dev --host 0.0.0.0