From 699b612e675b1dfaff2bdd838aa0548d3099bee7 Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 15 Feb 2023 01:16:04 +0000 Subject: [PATCH] feat(docker): rename build stages --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 940246e..df9db8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM node:18-alpine AS build +FROM node:18-alpine AS builder WORKDIR /build COPY package.json pnpm-lock.yaml ./ COPY --link scripts scripts @@ -12,7 +12,7 @@ RUN npm install -g pnpm RUN CI=true pnpm install --prod --frozen-lockfile COPY --link . . -FROM node:18-alpine AS final +FROM node:18-alpine AS runner ENV NODE_ENV=production \ HTTP_HOST=0.0.0.0 \ HTTP_PORT=80 \