Skip to content

Commit

Permalink
Install projects packages in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
lyubenkov committed Dec 21, 2023
1 parent fbcb727 commit a43eebf
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ RUN apt-get update && apt-get install -y \

WORKDIR /usr/src/app

COPY package*.json ./
COPY yarn.lock ./
COPY . ./

RUN yarn install --frozen-lockfile
ENV PATH /usr/src/app/node_modules/.bin:$PATH
RUN lerna run yarn install --stream

COPY ./docker/* /usr/local/bin/
ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"]

COPY . ./
ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"]

0 comments on commit a43eebf

Please sign in to comment.