Skip to content

Commit

Permalink
ci: fixes to docker file to build sqlite3 native module
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Mar 3, 2022
1 parent 07647be commit dbae53c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ RUN apk update && apk upgrade && \
apk add --update git && \
apk add --update openssh && \
apk add --update bash && \
apk add --update wget
apk add --update wget && \
apk add --update g++ make python3

WORKDIR /usr/src/app

COPY package*.json ./
RUN HUSKY_SKIP_INSTALL=1 npm install
RUN HUSKY_SKIP_INSTALL=1 npm install --build-from-source --python=/usr/bin/python3

RUN wget https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -O /wait-for-it.sh
RUN chmod +x /wait-for-it.sh
Expand Down

0 comments on commit dbae53c

Please sign in to comment.