mirror of
https://github.com/wahyd4/libr-2.git
synced 2026-08-09 05:15:53 +10:00
13 lines
210 B
Docker
13 lines
210 B
Docker
FROM ruby:2.5.1
|
|
RUN mkdir /myapp
|
|
WORKDIR /tmp
|
|
COPY Gemfile Gemfile
|
|
COPY Gemfile.lock Gemfile.lock
|
|
RUN bundle install
|
|
|
|
ADD . /myapp
|
|
WORKDIR /myapp
|
|
|
|
RUN RAILS_ENV=production
|
|
CMD ["rails","server","-b","0.0.0.0"]
|