fix: add layers to image

This commit is contained in:
Bad3r
2023-01-18 00:13:21 -05:00
committed by Gabriel Horner
parent de76612343
commit 12e30a2e40

View File

@@ -18,9 +18,12 @@ RUN apt-get update && apt-get install ca-certificates && \
WORKDIR /data
RUN git clone -b fix/docker-bulid-timeout https://github.com/logseq/logseq.git .
RUN yarn install --network-timeout 100000
# Build static resources
RUN git clone -b fix/docker-bulid-timeout https://github.com/logseq/logseq.git . \
yarn install --network-timeout 100000 && gulp build && yarn cljs:release
RUN gulp build && yarn cljs:release
# Web App Runner image
FROM nginx:stable-alpine