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