Clone git repo from Dockerfile

This commit is contained in:
2020-01-26 17:52:16 -08:00
parent bbee92fe53
commit 3644543ff0
2 changed files with 9 additions and 7 deletions

View File

@@ -5,13 +5,10 @@ FROM node:13
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN git clone https://git.heshapps.com/asolkar/mma-ask-app.git .
RUN npm install
# RUN NPM ci --only=production
# Bundle app source
COPY . .
# RUN npm ci --only=production
EXPOSE 3000
CMD ["node", "ask.js"]