Update Dockerfile

This commit is contained in:
STAM 2019-10-17 22:01:23 +03:00 committed by GitHub
parent 75b363553e
commit c20ec6d7d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,14 +13,12 @@ RUN apt update && \
apt dist-upgrade -y && \
# node as the JS engine for uglifier
apt-get install -y nodejs git && \
gem update --system && \
gem install bundler && \
rm -rfv /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN cd /opt && \
git clone https://github.com/adamcooke/staytus.git staytus && \
cd /opt/staytus && \
bundle update --all && \
bundle install --deployment --without development:test
ENTRYPOINT /entrypoint.sh