mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
Drop privileges (#1422)
This commit is contained in:
parent
7859aca006
commit
4fd9e7f14f
@ -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…
x
Reference in New Issue
Block a user