Created
June 11, 2020 02:14
-
-
Save pdbradley/d4f7211ca8ce2417eddcb2abdcd9fb14 to your computer and use it in GitHub Desktop.
Dockerfile for hasura rails postgres
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 ruby:2.6.6-alpine | |
RUN apk add --update build-base postgresql-dev tzdata nodejs | |
RUN apk add yarn | |
RUN gem install bundler | |
ENV APP_HOME /app | |
RUN mkdir $APP_HOME | |
WORKDIR $APP_HOME | |
COPY Gemfile Gemfile.lock package.json yarn.lock $APP_HOME/ | |
RUN bundle install | |
RUN yarn install --check-files | |
COPY . $APP_HOME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment