Skip to content

Commit

Permalink
fix(dockerfile): update yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed Sep 11, 2024
1 parent e54d9fd commit c115cd4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ ENV PUPPETEER_SKIP_DOWNLOAD=true

WORKDIR ${DIR}

COPY ./package.json ./yarn.lock ./.yarnrc.yml ./.yarn ${DIR}/
RUN yarn set version berry

COPY ./package.json ./yarn.lock ./.yarnrc.yml ${DIR}/
COPY ./template/package.json ${DIR}/template/
COPY ./service/package.json ${DIR}/service/

RUN chown -R node:node ${DIR} && yarn workspaces focus --all --production
RUN chown -R node:node ${DIR} \
&& yarn workspaces focus --all --production

ENTRYPOINT ["/usr/bin/dumb-init", "--rewrite", "15:2", "--", "yarn", "workspace", "@qlever-llc/zendesk-sync", "run"]
CMD ["start"]
Expand Down

0 comments on commit c115cd4

Please sign in to comment.