fix: use numeric non-root user in demo images
This commit is contained in:
@@ -5,5 +5,5 @@ COPY server.js ./
|
||||
|
||||
ENV PORT=8080
|
||||
EXPOSE 8080
|
||||
USER node
|
||||
USER 1000:1000
|
||||
CMD ["node", "server.js"]
|
||||
|
||||
@@ -5,5 +5,5 @@ COPY server.js index.html ./
|
||||
|
||||
ENV PORT=8080
|
||||
EXPOSE 8080
|
||||
USER node
|
||||
USER 1000:1000
|
||||
CMD ["node", "server.js"]
|
||||
|
||||
Reference in New Issue
Block a user