Last active
November 12, 2021 15:12
-
-
Save iqbalhasnan/4d0935edf228128d9181d0e27e80631f to your computer and use it in GitHub Desktop.
Rails 6 Docker Image - Ruby 3, Postgres, Webpack https://hub.docker.com/r/iqbalhasnan/rails-6-dev
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:3.0.2-alpine | |
ENV ROOT=/var/www/app \ | |
BUNDLE_PATH=/var/www/app/vendor/bundle | |
ENV BUNDLE_BIN=$BUNDLE_PATH/bin | |
ENV PATH $ROOT/bin:$BUNDLE_BIN:$PATH | |
RUN apk update && apk upgrade && apk add --update --no-cache \ | |
build-base \ | |
curl-dev \ | |
nodejs \ | |
postgresql-dev \ | |
tzdata \ | |
yarn && rm -rf /var/cache/apk/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment