feat: update with pnpm

This commit is contained in:
hanif salafi 2025-02-10 09:13:37 +07:00
parent 6747a1011d
commit 41cd503510
2 changed files with 7961 additions and 6 deletions

View File

@ -7,18 +7,22 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Installing dependencies
COPY package*.json /usr/src/app/
COPY package.json pnpm-lock.yaml ./
# Install dependencies
RUN pnpm install --frozen-lockfile
# RUN npm install --force
RUN npm install -g npm@latest
RUN npm install
# RUN npm install -g npm@latest
# RUN npm install
# Copying source files
COPY . /usr/src/app
COPY . .
# Building app
RUN npm run build
RUN pnpm run build
EXPOSE 4000
# Running the app
CMD "npm" "run" "start"
CMD ["pnpm", "run", "start"]

7951
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff