Browse Source

fix(build): docker build

Andelf 2 years ago
parent
commit
62f2834d76
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -10,6 +10,7 @@ ARG DEBIAN_FRONTEND=noninteractive
 
 
 # Install reqs
 # Install reqs
 RUN apt-get update && apt-get install -y --no-install-recommends \
 RUN apt-get update && apt-get install -y --no-install-recommends \
+    build-essential \
     curl \
     curl \
     ca-certificates \
     ca-certificates \
     apt-transport-https \
     apt-transport-https \
@@ -31,7 +32,7 @@ RUN git clone -b master https://github.com/logseq/logseq.git .
 
 
 RUN yarn config set network-timeout 240000 -g && yarn install
 RUN yarn config set network-timeout 240000 -g && yarn install
 
 
-RUN  yarn release 
+RUN  yarn release
 
 
 # Web App Runner image
 # Web App Runner image
 FROM nginx:1.24.0-alpine3.17
 FROM nginx:1.24.0-alpine3.17