Skip to content

Commit

Permalink
fix(docker): python is needed on final stage too
Browse files Browse the repository at this point in the history
  • Loading branch information
thib3113 committed Nov 12, 2023
1 parent da29965 commit c92577d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,17 @@ FROM node:lts-alpine
LABEL maintainer="thibaut severac <[email protected]>"
WORKDIR /app

RUN apk add --no-cache build-base python3 py3-pip make

COPY --from=builder /app .

RUN npm install -g npm && \
npm install -g pnpm
RUN pnpm install -P

RUN npm remove -g pnpm yarn &&\
npm cache clean --force
npm cache clean --force &&\
apk del build-base python3 py3-pip make

COPY ./docker/entrypoint.sh /usr/local/bin/docker-entrypoint.sh
RUN chmod 755 /usr/local/bin/docker-entrypoint.sh
Expand Down

0 comments on commit c92577d

Please sign in to comment.