Clone git repo from Dockerfile
This commit is contained in:
@@ -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"]
|
||||
|
Reference in New Issue
Block a user