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