15 lines
163 B
Docker
15 lines
163 B
Docker
FROM ruby:2.5.0
|
|
|
|
RUN mkdir -p /src
|
|
WORKDIR /src
|
|
|
|
EXPOSE 3000
|
|
|
|
COPY Gemfile /src/
|
|
COPY Gemfile.lock /src/
|
|
RUN bundle install
|
|
|
|
COPY main.rb /src/
|
|
|
|
CMD ruby main.rb
|