fix: revert arm dockerfile to node 14 (unsupported sqlite3 in 16.x)

This commit is contained in:
John Smith 2021-12-04 20:27:33 -05:00
parent 661ec5f5e0
commit 7e335fa8c3
No known key found for this signature in database
GPG Key ID: 8FDA2F1757F60D63

View File

@ -1,9 +1,9 @@
# =========================
# --- BUILD NPM MODULES ---
# =========================
FROM node:16-alpine AS build
FROM node:14-alpine AS build
RUN apk add yarn g++ make python3 --no-cache
RUN apk add yarn g++ make python3 sqlite --no-cache
WORKDIR /wiki
@ -14,7 +14,7 @@ RUN yarn --production --frozen-lockfile --non-interactive --network-timeout 1000
# ===============
# --- Release ---
# ===============
FROM node:16-alpine
FROM node:14-alpine
LABEL maintainer="requarks.io"
RUN apk add bash curl git openssh gnupg sqlite --no-cache && \