Explorar o código

ci: fix build workflow

NGPixel %!s(int64=2) %!d(string=hai) anos
pai
achega
b62c356f42
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      dev/build/Dockerfile

+ 5 - 1
dev/build/Dockerfile

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