Clone and checkout instead (new version)

This commit is contained in:
Luke Murphy 2020-03-25 19:09:42 +01:00
parent 2ca0223207
commit 67cf5be4c8
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -10,18 +10,17 @@ WORKDIR /usr/src/app
COPY . ${WORKDIR}
RUN apt-get update && \
apt-get install --no-install-recommends --yes \
automake \
build-essential \
curl \
libcap2-bin \
libtool \
m4
apt-get install --no-install-recommends --yes \
automake \
build-essential \
curl \
git \
libcap2-bin \
libtool \
m4
RUN curl -Lo homebase.zip https://github.com/beakerbrowser/homebase/archive/1.1.2.zip \
&& unzip homebase.zip \
&& mv homebase-1.1.2/* /usr/src/app \
&& rm homebase.zip
RUN git clone https://github.com/beakerbrowser/homebase && \
git checkout 474976ff9e839e06c37a83625fe0832fc26fefa1
RUN npm install --only=production
RUN npm install pm2@4.2.3 -g