diff --git a/Dockerfile b/Dockerfile index a72161a1..0cb6f290 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,10 +4,12 @@ WORKDIR /app COPY . . RUN npm install -g pnpm --registry=https://registry.npmmirror.com +RUN pnpm config set registry https://registry.npmmirror.com RUN pnpm install RUN ["pnpm", "build"] -FROM nginx:stable-alpine +FROM nginx:1.25.3 COPY --from=0 /app/dist /usr/share/nginx/html/ COPY nginx.conf /etc/nginx/conf.d/ +