Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Co-authored-by: Yarden Shoham <git@yardenshoham.com>
  • Loading branch information
ofirdassa9 and yardenshoham committed May 4, 2023
1 parent 48dfaf3 commit 257ce29
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ WORKDIR /usr/src/app

COPY . .

RUN yarn

RUN yarn build --dist-dir /usr/src/app/out
RUN yarn && yarn build --dist-dir /usr/src/app/out

FROM nginx:alpine

Expand Down

0 comments on commit 257ce29

Please sign in to comment.