Skip to content

Commit

Permalink
fix: Replace yarn with npm for package installation in Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mlyubimov committed Dec 26, 2024
1 parent 855aa7a commit a6a0a23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ WORKDIR /app
RUN npm install -g @quasar/cli

COPY frontend/package.json ./
RUN yarn install
RUN npm install

COPY frontend/ .
RUN yarn build/web/dev
RUN npm run build/web/dev

FROM alpine

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile-prod
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ WORKDIR /app
RUN npm install -g @quasar/cli

COPY frontend/package.json ./
RUN yarn install
RUN npm install

COPY frontend/ .
RUN yarn build/web
RUN npm run build/web

FROM alpine

Expand Down

0 comments on commit a6a0a23

Please sign in to comment.