From d63a4e03a0a7dde829b899730211d0308fafeb89 Mon Sep 17 00:00:00 2001 From: gggykkee Date: Tue, 8 Aug 2023 14:21:33 +0800 Subject: [PATCH] delete dockerfile --- Dockerfile | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 5163975..0000000 --- a/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM node:16-alpine as build-stage - -WORKDIR /app -RUN corepack enable -RUN corepack prepare pnpm@7.32.1 --activate - -RUN npm config set registry https://registry.npmmirror.com - -COPY .npmrc package.json pnpm-lock.yaml ./ -RUN pnpm install --frozen-lockfile - -COPY . . -RUN pnpm build - -FROM nginx:stable-alpine as production-stage - -COPY --from=build-stage /app/dist /usr/share/nginx/html -EXPOSE 80 - -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file