Create REVISION file for Docker container

This commit is contained in:
Patrick Gansterer 2017-07-31 22:40:50 +02:00
parent fa32fc9229
commit 64bda5da27

View file

@ -13,7 +13,8 @@ ENV RAILS_ENV=production
WORKDIR /usr/src/app
COPY . ./
RUN bundle install --without development --without test && \
RUN git rev-parse --short HEAD > REVISION && \
bundle install --without development --without test && \
whenever --update-crontab
EXPOSE 3000