diff --git a/Dockerfile b/Dockerfile index a165ae37..2d45ff17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . ./ \ No newline at end of file +ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"] \ No newline at end of file