Switched to production ruby env

This commit is contained in:
Pavel Pivovarov
2019-07-09 13:00:10 +10:00
parent e2ae5ee3cc
commit e9574131ae
3 changed files with 5 additions and 4 deletions

View File

@@ -14,8 +14,9 @@ WORKDIR /app
ENV GIT_HASH 78525f7281534674e5a987db805c2805f477b7f4
ENV RAILS_ENV development
ENV RACK_ENV development
ENV RAILS_SERVE_STATIC_FILES=true
ENV RAILS_ENV production
ENV RACK_ENV production
ENV NODE_ENV production
RUN git clone https://github.com/snibox/snibox.git /app && cd /app && git reset --hard $GIT_HASH