Create REVISION file for Docker container
This commit is contained in:
parent
fa32fc9229
commit
64bda5da27
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ ENV RAILS_ENV=production
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY . ./
|
COPY . ./
|
||||||
RUN bundle install --without development --without test && \
|
RUN git rev-parse --short HEAD > REVISION && \
|
||||||
|
bundle install --without development --without test && \
|
||||||
whenever --update-crontab
|
whenever --update-crontab
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
Loading…
Reference in a new issue