Modify Dockerfile

This commit is contained in:
Jueli Moon Aung
2018-08-09 10:41:41 +00:00
parent 7eb138cdda
commit a282279ba2

View File

@@ -7,8 +7,7 @@ WORKDIR /sxrestaurant
COPY Gemfile /sxrestaurant/Gemfile
COPY Gemfile.lock /sxrestaurant/Gemfile.lock
RUN bundle install --without development test
RUN bundle exec rails assets:precompile
RUN echo "Asia/Rangoon" > /etc/timezone
RUN dpkg-reconfigure -f noninteractive tzdata
COPY . /sxrestaurant
RUN bundle exec rails assets:precompile