This commit is contained in:
2019-04-04 21:02:24 +11:00
parent 3662c8ac7c
commit a87a9778a8

View File

@@ -6,8 +6,10 @@ WORKDIR /app
# app directory
COPY package.json /app
# We then run npm install to install
# express for our application
RUN apt-get install --assume-yes git
# express for our applicationRUN
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git
RUN npm install
# We then copy the rest of our application
# to the app direcoty