Try to fix the path correctly for cloning

This commit is contained in:
Luke Murphy 2020-03-25 19:14:15 +01:00
parent d6300fb951
commit db1cd8df4c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 4 additions and 3 deletions

View File

@ -5,8 +5,6 @@ FROM node:8-stretch
ENV NODE_ENV production
WORKDIR /usr/src/app
COPY . ${WORKDIR}
RUN apt-get update && \
@ -19,9 +17,12 @@ RUN apt-get update && \
libtool \
m4
RUN git clone https://github.com/beakerbrowser/homebase /usr/src/app && \
RUN \
git clone https://github.com/beakerbrowser/homebase /usr/src/app && \
git checkout 474976ff9e839e06c37a83625fe0832fc26fefa1
WORKDIR /usr/src/app
RUN npm install --only=production
RUN npm install pm2@4.2.3 -g