Merge "Update Dockerfile to use non root user"
[nonrtric.git] / test / http-https-proxy / Dockerfile
index 0d9b977..0043eeb 100644 (file)
@@ -13,8 +13,6 @@ COPY cert/pass .
 WORKDIR /usr/src/app
 COPY http_proxy.js .
 
-RUN groupadd -g 999 appuser && \
-    useradd -r -u 999 -g appuser appuser
-USER appuser
+USER node
 
 CMD [ "node", "http_proxy.js" ]
\ No newline at end of file