mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
add node-gyp deps in node:alpine image
This commit is contained in:
parent
4d80a79940
commit
5be72b55ab
1 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,9 @@ COPY nginx/conf.d /etc/nginx/conf.d
|
|||
# init build
|
||||
FROM node:alpine as build
|
||||
|
||||
# https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md#node-gyp-alpine
|
||||
RUN apk add --no-cache python make g++
|
||||
|
||||
# install
|
||||
WORKDIR /usr/src/app/
|
||||
COPY package*.json ./
|
||||
|
|
|
|||
Loading…
Reference in a new issue