Last active
January 22, 2019 21:25
-
-
Save ZackMattor/472be83245ea392ce40a7db170101c9a to your computer and use it in GitHub Desktop.
This file contains 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
docker build . -t valeness | |
docker run -d -p 3000:3000 valeness |
This file contains 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 ruby:2.5.3 | |
RUN apt-get update -qq && apt-get install -y build-essential | |
RUN apt-get install -y nodejs | |
RUN gem install bundler | |
RUN gem install rails | |
RUN rails new valeness | |
WORKDIR valeness | |
RUN bundle | |
ENTRYPOINT [ "rails", "server" ] | |
EXPOSE 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment