Use upstream docker tag
This commit is contained in:
parent
0d4e55708e
commit
e2ddc04540
31
Dockerfile
31
Dockerfile
@ -1,33 +1,6 @@
|
||||
# Adapted from the upstream docker container packaged by the Homebase project
|
||||
# https://github.com/beakerbrowser/homebase/commit/48fe5c7d1b9b72e07e29452e3e1ad969c120aaab
|
||||
|
||||
FROM node:8-stretch
|
||||
|
||||
ENV NODE_ENV production
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install --no-install-recommends --yes \
|
||||
automake \
|
||||
build-essential \
|
||||
curl \
|
||||
git \
|
||||
libcap2-bin \
|
||||
libtool \
|
||||
m4
|
||||
|
||||
RUN \
|
||||
git clone https://github.com/beakerbrowser/homebase /usr/src/app && \
|
||||
cd /usr/src/app && \
|
||||
git checkout 474976ff9e839e06c37a83625fe0832fc26fefa1
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY . ${WORKDIR}
|
||||
|
||||
RUN npm install --only=production
|
||||
RUN npm install pm2@4.2.3 -g
|
||||
FROM decentral1se/homebase:ventilator
|
||||
|
||||
EXPOSE 8085
|
||||
EXPOSE 3282
|
||||
|
||||
CMD ["pm2-runtime", "npm", "--", "start"]
|
||||
COPY . ${WORKDIR}
|
||||
|
Reference in New Issue
Block a user