Skip to content

Commit

Permalink
chore(Dockerfile): add required gyp packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kdev committed Feb 1, 2024
1 parent f4cc910 commit 89dbd53
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
FROM node:20-alpine as build
FROM node:20-slim as build
WORKDIR /home/node/
COPY . .
RUN npm pkg delete scripts.prepare

RUN apt update
RUN apt install -y python3 libcurl4-openssl-dev libssl-dev build-essential

RUN npm ci
RUN npm run build

Expand Down

0 comments on commit 89dbd53

Please sign in to comment.