소스 검색

ci: fix build workflow

NGPixel 2 년 전
부모
커밋
b62c356f42
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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"]