diff --git a/Dockerfile b/Dockerfile index 9a71e46..e358fcc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,11 @@ -FROM node:18-alpine +FROM node:18-alpine AS build # Create app directory WORKDIR /usr/src/app +# install git to clone dependency from github +RUN apk add --no-cache git + # Copy both package*.json files COPY package*.json ./