Last active
October 20, 2019 19:35
-
-
Save wshihadeh/8b1877d4dc2a1ec44cc6fa3b062d421c to your computer and use it in GitHub Desktop.
Rails app docker file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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