Skip to content

Commit

Permalink
fix(client): issue in Dockerfile fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
cgawron committed Oct 11, 2023
1 parent aafb7e3 commit 1080481
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ COPY package.json .
COPY yarn.lock .
COPY ./common/package.json ./common/package.json
COPY ./client/package.json ./client/package.json
RUN yarn install
RUN yarn --version
RUN yarn install && yarn --version

COPY ./common ./common
RUN yarn workspace common build

COPY ./client ./client
RUN yarn workspace client build

FROM nginx:1.21.3-alpine
COPY --from=build /base/client/build /usr/share/nginx/html
COPY ./client/nginx/default.conf /etc/nginx/conf.d/default.conf
Expand Down

0 comments on commit 1080481

Please sign in to comment.