Dockerfile 176 Bytes
Newer Older
1 2 3 4 5 6
FROM ruby:2.5

RUN mkdir /api
WORKDIR /api
ADD . /api

7 8
EXPOSE 3000

9 10
ENV RAILS_ENV production

11
RUN bundle install
12
RUN rails db:migrate
13
RUN rails db:seed
14
RUN rails docs:generate