Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthGupta2510 committed Jul 5, 2024
1 parent 1a19d3e commit 871e01c
Show file tree
Hide file tree
Showing 4 changed files with 12,152 additions and 10,671 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ FROM node:20-alpine

WORKDIR /webapp

RUN yarn global add serve
RUN npm install --global serve

COPY package.json yarn.lock ./
COPY package.json package-lock.json ./

RUN yarn install --frozen-lockfile --silent
RUN npm install --frozen-lockfile --silent

COPY . .

RUN yarn build
RUN npm start build

CMD ["serve", "-s", "build"]
Loading

0 comments on commit 871e01c

Please sign in to comment.