aboutsummaryrefslogtreecommitdiff
path: root/vnext/server/Dockerfile
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-10-11 03:45:56 +0300
committerGravatar Vitaly Takmazov2024-10-11 03:45:56 +0300
commit5ab2f6aa9ae409e485d9106e8bff411c30602462 (patch)
tree43e52df90e03af44667f1611cdeb10a6e9edec94 /vnext/server/Dockerfile
parentbbdab5e2d38da2dfd7fea2f7a3593819cad21faa (diff)
vnext: initial database connection
Diffstat (limited to 'vnext/server/Dockerfile')
-rw-r--r--vnext/server/Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/vnext/server/Dockerfile b/vnext/server/Dockerfile
index 26e962fd..5c08a968 100644
--- a/vnext/server/Dockerfile
+++ b/vnext/server/Dockerfile
@@ -12,7 +12,8 @@ ENV NODE_ENV=production
ENV NPM_CONFIG_LOGLEVEL=warn
ENV DEBUG=http
-# Expose the listening port of your app
-EXPOSE 8081
+RUN useradd juick
+USER juick
-CMD [ "node", "server.js" ]
+EXPOSE 8081
+CMD ["node", "server.js"]