mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 23:39:50 -04:00

* fixed display of strongs when there were more than one sn for a given word. * added ability to look up references in the b:ch:v format
34 lines
1.0 KiB
Docker
34 lines
1.0 KiB
Docker
FROM ubuntu:16.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive \
|
|
NODE_VERSION=10.13.0 \
|
|
NPM_VERSION=6.5.0 \
|
|
IONIC_VERSION=4.6.0
|
|
|
|
# Install basics
|
|
RUN apt-get update
|
|
RUN apt-get install -y git wget curl unzip build-essential ruby ruby-dev ruby-ffi gcc make
|
|
RUN curl --retry 3 -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz"
|
|
RUN tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1
|
|
RUN rm "node-v$NODE_VERSION-linux-x64.tar.gz"
|
|
RUN npm install -g npm@"$NPM_VERSION"
|
|
RUN npm install -g cordova@"$CORDOVA_VERSION" ionic@"$IONIC_VERSION"
|
|
RUN npm cache clear --force
|
|
RUN gem install sass
|
|
|
|
RUN apt-get install software-properties-common -y
|
|
RUN add-apt-repository ppa:mercurial-ppa/releases
|
|
RUN apt-get update
|
|
RUN apt-get install mercurial -y
|
|
|
|
# Test First Build so that it will be faster later
|
|
WORKDIR /db
|
|
RUN hg clone https://walljm@bitbucket.org/walljm/dynamicbible
|
|
WORKDIR /db/dynamicbible/DynamicBibleIonic
|
|
RUN hg update main
|
|
RUN ls -laF
|
|
RUN npm install
|
|
|
|
EXPOSE 8100 35729
|
|
CMD ["build.sh"]
|