Skip to content

Commit

Permalink
build: docker yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
wkylin committed Nov 29, 2024
1 parent 30b8be9 commit 6621667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:22.11.0
WORKDIR /pro-react-admin
COPY package.json /pro-react-admin
RUN npm install
RUN yarn install
COPY . /pro-react-admin
CMD ["npm", "run", "build:production"]
CMD ["yarn", "run", "build:production"]

0 comments on commit 6621667

Please sign in to comment.