Last active
July 16, 2018 14:01
-
-
Save joaofnds/d8a1ade67c39ff98dc74d0374f2b91c6 to your computer and use it in GitHub Desktop.
Dockerfile for joaofnds/rails-alpine
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:alpine | |
# Minimal requirements to run a Rails app | |
RUN apk add --no-cache --update build-base \ | |
linux-headers \ | |
git \ | |
postgresql-dev \ | |
tzdata \ | |
nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't need
nodejs
if you're using rails for API onlyYou don't need
postgresql-dev
if you're not using Postgres as your DB