This commit is contained in:
@@ -7,6 +7,7 @@ FROM node:${NODE_VERSION} AS base
|
||||
ARG PORT=3000
|
||||
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
|
||||
# Build
|
||||
FROM base AS build
|
||||
@@ -14,9 +15,6 @@ FROM base AS build
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN npm install
|
||||
RUN npm rebuild sharp
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
# Production
|
||||
|
||||
Reference in New Issue
Block a user