use npm instead of yarn
This commit is contained in:
@@ -3,13 +3,13 @@ FROM node:18-alpine AS build
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json package-lock.json ./
|
||||||
|
|
||||||
RUN yarn install
|
RUN npm install
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN yarn build
|
RUN npm run build
|
||||||
|
|
||||||
# Serve
|
# Serve
|
||||||
FROM nginx:stable-alpine AS runtime
|
FROM nginx:stable-alpine AS runtime
|
||||||
|
Reference in New Issue
Block a user