back to npm

This commit is contained in:
iPromKnight
2024-02-08 15:41:03 +00:00
committed by iPromKnight
parent 8bba2aa284
commit 901186c109
4 changed files with 11056 additions and 6278 deletions

View File

@@ -4,12 +4,11 @@ RUN apt update && apt install -y git && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package.json ./
COPY yarn.lock ./
RUN yarn install
COPY package*.json ./
RUN npm install
COPY . .
RUN yarn run build
RUN yarn install --production
RUN npm run build
RUN npm install --omit=dev
FROM node:lts-buster-slim