Skip to content

Commit

Permalink
Update Dockerfile with additional dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
n4ze3m committed Nov 18, 2023
1 parent 190bb2a commit 0a7bb4d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM node:18 as server

WORKDIR /app

RUN apt update
RUN apt update && apt -y install g++ make python3
RUN npm install -g node-gyp

COPY ./server/ .

Expand Down Expand Up @@ -30,6 +31,8 @@ RUN yarn config set registry https://registry.npmjs.org/
RUN yarn config set network-timeout 1200000

RUN apt update && apt -y install --no-install-recommends ca-certificates git git-lfs openssh-client curl jq cmake sqlite3 openssl psmisc python3
RUN apt -y install g++ make
RUN npm install -g node-gyp
RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/
RUN npm --no-update-notifier --no-fund --global install pnpm
# Copy API
Expand Down

0 comments on commit 0a7bb4d

Please sign in to comment.