pref: update Dockerfile
Some checks failed
CI / deploy (push) Has been cancelled

This commit is contained in:
thehrz 2024-08-17 23:22:36 +08:00
parent fe04e92e04
commit a6b4fe0222
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -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