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”]