We need node-gyp when building API in docker
This commit is contained in:
@ -73,8 +73,8 @@ services:
|
||||
- "4000:8080"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "nc -z 0.0.0.0 8080 || exit 1"]
|
||||
interval: 5s
|
||||
timeout: 60s
|
||||
interval: 15s
|
||||
timeout: 90s
|
||||
environment:
|
||||
- API_ENV=local
|
||||
- PG_HOST=postgres
|
||||
|
||||
@ -3,6 +3,7 @@ FROM node:14.18-alpine as builder
|
||||
WORKDIR /app
|
||||
|
||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
|
||||
RUN apk add g++ make python3
|
||||
|
||||
COPY package.json .
|
||||
COPY yarn.lock .
|
||||
|
||||
Reference in New Issue
Block a user