feat: update dockerfile
This commit is contained in:
parent
484c9c6362
commit
cafb85da4a
|
|
@ -10,7 +10,7 @@ RUN mkdir -p /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
# Installing dependencies
|
# Installing dependencies
|
||||||
COPY package.json pnpm-lock.yaml ./
|
COPY package*.json pnpm-lock.yaml ./
|
||||||
|
|
||||||
# Copy ckeditor5 to workdir
|
# Copy ckeditor5 to workdir
|
||||||
COPY vendor/ckeditor5 ./vendor/ckeditor5
|
COPY vendor/ckeditor5 ./vendor/ckeditor5
|
||||||
|
|
@ -19,8 +19,8 @@ COPY vendor/ckeditor5 ./vendor/ckeditor5
|
||||||
# RUN pnpm install --frozen-lockfile
|
# RUN pnpm install --frozen-lockfile
|
||||||
|
|
||||||
# RUN npm install --force
|
# RUN npm install --force
|
||||||
RUN npm install -g npm@latest
|
# RUN npm install -g npm@latest
|
||||||
RUN npm install --force
|
RUN npm install
|
||||||
|
|
||||||
# Copying source files
|
# Copying source files
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue