Skip to content

Instantly share code, notes, and snippets.

@wshihadeh
Last active October 20, 2019 19:35
Show Gist options
  • Save wshihadeh/8b1877d4dc2a1ec44cc6fa3b062d421c to your computer and use it in GitHub Desktop.
Save wshihadeh/8b1877d4dc2a1ec44cc6fa3b062d421c to your computer and use it in GitHub Desktop.
Rails app docker file
FROM wshihadeh/rails-base-image-ruby:2.6.3-mysql
MAINTAINER Al-waleed Shiahdeh <[email protected]>
COPY ./docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
WORKDIR /application
RUN bundle install --without development test && rails assets:precompile
CMD ["web"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment