From a6b4fe0222e873bb27ee28f20cb6c1d4f02c0e51 Mon Sep 17 00:00:00 2001 From: thehrz Date: Sat, 17 Aug 2024 23:22:36 +0800 Subject: [PATCH] pref: update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 603c137..cc6e862 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine as build-stage +FROM node:20-alpine AS build-stage WORKDIR /app RUN corepack enable @@ -10,7 +10,7 @@ RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \ COPY . . RUN pnpm build -FROM node:20-alpine as production-stage +FROM node:20-alpine AS production-stage WORKDIR /srv/ipv6-test ENV NODE_ENV production