feat: update dockerfile

This commit is contained in:
hanif salafi 2025-02-13 08:37:14 +07:00
parent 484c9c6362
commit cafb85da4a
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Installing dependencies
COPY package.json pnpm-lock.yaml ./
COPY package*.json pnpm-lock.yaml ./
# Copy ckeditor5 to workdir
COPY vendor/ckeditor5 ./vendor/ckeditor5
@ -19,8 +19,8 @@ COPY vendor/ckeditor5 ./vendor/ckeditor5
# RUN pnpm install --frozen-lockfile
# RUN npm install --force
RUN npm install -g npm@latest
RUN npm install --force
# RUN npm install -g npm@latest
RUN npm install
# Copying source files
COPY . .