FROM ruby:2.6.6 RUN apt update RUN apt install -y git vim postgresql-client --no-install-recommends WORKDIR /app/rubypitaya/ COPY Gemfile Gemfile.lock ./ RUN bundle install COPY . . ENV LANG=C.UTF-8 ENV LC_ALL=C.UTF-8 ENTRYPOINT ["./docker/entrypoint.sh"] CMD ["bundle", "exec", "rubypitaya", "run"]