feat(docker): remove better-sqlite3 preinstall which is no longer needed

better-sqlite now ships pre-builds
which makes the installation almost instant
pull/306/head
Romain 2 years ago
parent 30388c593c
commit 656d04fd46

@ -12,8 +12,3 @@ LABEL org.opencontainers.image.source https://github.com/thumbsup/thumbsup
# Standard build dependencies for npm install
RUN apk add --no-cache git make g++ python3 bash
# Pre-install expensive dependencies
WORKDIR /app
RUN npm init -y
RUN npm install better-sqlite3

@ -1,5 +1,6 @@
# Node.js + build dependencies + runtime dependencies
FROM ghcr.io/thumbsup/build:node-12
WORKDIR /app
# Switch to a non-root user
# So we can test edge-cases around file permissions

Loading…
Cancel
Save