ci: fix build workflow

pull/6775/head
NGPixel 2 years ago
parent 283ee8b58a
commit b62c356f42
No known key found for this signature in database
GPG Key ID: B755FB6870B30F63

@ -3,6 +3,7 @@ LABEL maintainer="requarks.io"
RUN apt-get update && apt-get install -qy --no-install-recommends \
bash \
build-essential \
curl \
git \
gnupg \
@ -25,7 +26,10 @@ USER node
ENV NODE_ENV=production
RUN cd server && npm ci --foreground-scripts --omit=dev --audit=false --fund=false
WORKDIR /wiki/server
RUN npm ci --foreground-scripts --omit=dev --audit=false --fund=false
WORKDIR /wiki
VOLUME ["/wiki/data/content"]

Loading…
Cancel
Save