We need node-gyp when building API in docker

This commit is contained in:
Jackson Harper
2022-05-02 11:00:39 -07:00
parent aa3e91ac97
commit 9e94ed5067
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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 .