aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index d638b6f..2b013eb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,12 +7,12 @@ WORKDIR /usr/src/app
COPY package*.json ./
-USER node
-
RUN npm clean-install --only=production
COPY . .
EXPOSE ${PORT}
+USER node
+
CMD [ "node", "index.js" ]