Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 601 Bytes

Dockerfile.org

File metadata and controls

22 lines (18 loc) · 601 Bytes

FROM ruby:2.5

COPY . /jinda WORKDIR /jinda

ENV RAILS_ENV development RUN bundle install –deployment –without test \ && curl -sL https://deb.nodesource.com/setup_10.x | bash - \ && apt install -y nodejs

COPY entrypoint.sh usr/bin RUN chmod +x /usr/bin/entrypoint.sh ENTRYPOINT [“entrypoint.sh”] EXPOSE 3000

CMD [“rails”, “server”, “-b”, “0.0.0.0”]