mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-25 23:15:40 +01:00
Updated Dockerfile with user context.
This commit is contained in:
parent
bd413efbfb
commit
c259926855
@ -10,4 +10,8 @@ RUN npm install
|
|||||||
# Bundle app source
|
# Bundle app source
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN addgroup -S app -g 50000 && \
|
||||||
|
adduser -S -g app -u 50000 app
|
||||||
|
USER app
|
||||||
|
|
||||||
ENTRYPOINT [ "node", "server.js" ]
|
ENTRYPOINT [ "node", "server.js" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user