diff --git a/Dockerfile b/Dockerfile index 43a5cfe..e5e59b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,8 @@ EXPOSE $PORT WORKDIR /app -RUN npm install -g nodemon - -COPY package*.json . +COPY package.json . +COPY package-lock.json . RUN npm install @@ -15,4 +14,4 @@ COPY src . COPY index.ts . COPY public . -CMD [ "nodemon", "--transpile-only", "index.ts" ] \ No newline at end of file +CMD [ "npm", "run", "start" ] \ No newline at end of file