Skip to content

Commit

Permalink
Install pm2 without npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzahi12345 committed Dec 9, 2023
1 parent dcb5369 commit f96ffab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ RUN npm config set strict-ssl false && \

# Final image
FROM base
RUN npm install -g pm2 && \
apt update && \
RUN apt update && \
apt install sudo curl && curl -sL https://raw.githubusercontent.com/Unitech/pm2/master/packager/setup.deb.sh | sudo -E bash - && \
apt install -y --no-install-recommends gosu python3-minimal python-is-python3 python3-pip atomicparsley build-essential && \
pip install pycryptodomex && \
apt remove -y --purge build-essential && \
Expand Down

0 comments on commit f96ffab

Please sign in to comment.