Skip to content

Commit

Permalink
fix(ci): Python install has been added
Browse files Browse the repository at this point in the history
  • Loading branch information
AliaksandrRyzhou committed Feb 2, 2024
1 parent b0e34e4 commit cfd116b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/ws/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ENV NX_DAEMON=false

RUN npm install -g pnpm@8.9.0 --loglevel notice
RUN npm i pm2 -g
RUN apk --no-cache add g++ make py3-pip

USER 1000
WORKDIR /usr/src/app
Expand All @@ -29,7 +30,7 @@ RUN --mount=type=secret,id=BULL_MQ_PRO_NPM_TOKEN,uid=1000 export BULL_MQ_PRO_NPM
if [ -n "${BULL_MQ_PRO_NPM_TOKEN}" ] ; then echo 'Building with Enterprise Edition of Novu'; rm -f .npmrc ; cp .npmrc-cloud .npmrc ; fi

RUN --mount=type=secret,id=BULL_MQ_PRO_NPM_TOKEN,uid=1000 export BULL_MQ_PRO_NPM_TOKEN=$(cat /run/secrets/BULL_MQ_PRO_NPM_TOKEN) && \
pnpm install --reporter=silent && \
pnpm install --verbose && \
pnpm build:ws

RUN --mount=type=secret,id=BULL_MQ_PRO_NPM_TOKEN,uid=1000 export BULL_MQ_PRO_NPM_TOKEN=$(cat /run/secrets/BULL_MQ_PRO_NPM_TOKEN) && \
Expand Down

0 comments on commit cfd116b

Please sign in to comment.