From a4f7b673a2ee93f0c14efcee3d012c05bef84f8e Mon Sep 17 00:00:00 2001 From: Abheek D <67982792+ADawesomeguy@users.noreply.github.com> Date: Wed, 15 Sep 2021 22:52:55 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b30126a..617952d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,13 @@ FROM node:latest -RUN npm i -g awscibo -CMD awscibo + +# Create app directory +WORKDIR /usr/src/app + +# Install deps +COPY package*.json ./ + +RUN npm install + +COPY . . + +CMD [ "node", "index.js" ]