Dockerfile: don't run as root
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
388077a99d
commit
cbb1922519
@ -1,6 +1,7 @@
|
||||
FROM node:8
|
||||
|
||||
COPY . /img
|
||||
COPY --chown=node . /img
|
||||
USER node
|
||||
WORKDIR /img
|
||||
RUN npm i
|
||||
EXPOSE 9119
|
||||
|
Loading…
Reference in New Issue
Block a user