From 2b192b9f94bcfaaca718c0fb2a49d022aae9af67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Jurmanovi=C4=87?= Date: Fri, 29 Sep 2023 22:51:25 +0200 Subject: [PATCH] edit dockerfile --- dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dockerfile b/dockerfile index 30434f3..b659c24 100644 --- a/dockerfile +++ b/dockerfile @@ -5,15 +5,12 @@ FROM node:16-alpine WORKDIR /app # Copy package.json and package-lock.json to the /app directory -COPY package.json package-lock.json ./ +COPY . . # Install dependencies RUN npm install RUN npm run build -# Copy the rest of project files into this image -COPY . . - # Expose application port # EXPOSE 3000