mirror of
https://github.com/zadam/trilium.git
synced 2025-03-03 18:49:27 +08:00
Drop privileges (#1422)
This commit is contained in:
parent
7859aca006
commit
4fd9e7f14f
1 changed files with 2 additions and 0 deletions
|
@ -23,5 +23,7 @@ RUN set -x \
|
||||||
# Bundle app source
|
# Bundle app source
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
USER node
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD [ "node", "./src/www" ]
|
CMD [ "node", "./src/www" ]
|
||||||
|
|
Loading…
Reference in a new issue