Clone and checkout instead (new version)
This commit is contained in:
parent
2ca0223207
commit
67cf5be4c8
21
Dockerfile
21
Dockerfile
@ -10,18 +10,17 @@ WORKDIR /usr/src/app
|
|||||||
COPY . ${WORKDIR}
|
COPY . ${WORKDIR}
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install --no-install-recommends --yes \
|
apt-get install --no-install-recommends --yes \
|
||||||
automake \
|
automake \
|
||||||
build-essential \
|
build-essential \
|
||||||
curl \
|
curl \
|
||||||
libcap2-bin \
|
git \
|
||||||
libtool \
|
libcap2-bin \
|
||||||
m4
|
libtool \
|
||||||
|
m4
|
||||||
|
|
||||||
RUN curl -Lo homebase.zip https://github.com/beakerbrowser/homebase/archive/1.1.2.zip \
|
RUN git clone https://github.com/beakerbrowser/homebase && \
|
||||||
&& unzip homebase.zip \
|
git checkout 474976ff9e839e06c37a83625fe0832fc26fefa1
|
||||||
&& mv homebase-1.1.2/* /usr/src/app \
|
|
||||||
&& rm homebase.zip
|
|
||||||
|
|
||||||
RUN npm install --only=production
|
RUN npm install --only=production
|
||||||
RUN npm install pm2@4.2.3 -g
|
RUN npm install pm2@4.2.3 -g
|
||||||
|
Reference in New Issue
Block a user