mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix docker build
This commit is contained in:
parent
260bc93a66
commit
e57d325bd6
14
Dockerfile
14
Dockerfile
@ -21,6 +21,16 @@ RUN set -x \
|
|||||||
nasm \
|
nasm \
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
python3 \
|
python3 \
|
||||||
|
build-base \
|
||||||
|
cairo-dev \
|
||||||
|
jpeg-dev \
|
||||||
|
pango-dev \
|
||||||
|
musl-dev \
|
||||||
|
giflib-dev \
|
||||||
|
pixman-dev \
|
||||||
|
pangomm-dev \
|
||||||
|
libjpeg-turbo-dev \
|
||||||
|
freetype-dev \
|
||||||
&& npm install \
|
&& npm install \
|
||||||
&& apk del .build-dependencies \
|
&& apk del .build-dependencies \
|
||||||
&& npm run webpack \
|
&& npm run webpack \
|
||||||
@ -29,8 +39,8 @@ RUN set -x \
|
|||||||
&& cp -r src/public/app/doc_notes src/public/app-dist/. \
|
&& cp -r src/public/app/doc_notes src/public/app-dist/. \
|
||||||
&& rm -rf src/public/app
|
&& rm -rf src/public/app
|
||||||
|
|
||||||
# Some setup tools need to be kept
|
# Some tools need to be kept
|
||||||
RUN apk add --no-cache su-exec shadow
|
RUN apk add --no-cache su-exec shadow libpangocairo
|
||||||
|
|
||||||
# Add application user and setup proper volume permissions
|
# Add application user and setup proper volume permissions
|
||||||
RUN adduser -s /bin/false node; exit 0
|
RUN adduser -s /bin/false node; exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user