From 56aa43b58bb14e3ba92834997073fc13f26f8618 Mon Sep 17 00:00:00 2001 From: Taken Date: Thu, 6 Apr 2023 22:10:15 +0200 Subject: [PATCH] Updating docker build file --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9c0b6d9..09672d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,10 @@ FROM node:19.8.1-alpine COPY . /app +RUN rm -rf /app/.env + WORKDIR /app -RUN npm install +CMD ["node", "index.js"] -CMD ["node", "index.js"] \ No newline at end of file +RUN npm install \ No newline at end of file