added build-essential to Dockerfile

This commit is contained in:
SrGooglo 2023-05-18 11:49:21 +00:00
parent 94aadacd5f
commit 95465777a7

View File

@ -3,7 +3,7 @@ FROM node:16-bullseye-slim
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt update
RUN apt install --no-install-recommends curl python yarn -y
RUN apt install --no-install-recommends curl python yarn build-essential -y
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app