Skip to content

Instantly share code, notes, and snippets.

View gedean's full-sized avatar
🎯
Focusing

Gedean Dias gedean

🎯
Focusing
View GitHub Profile
@gedean
gedean / Dockerfile
Created July 12, 2020 07:34 — forked from siklodi-mariusz/Dockerfile
Dockerfile example for Ruby on Rails running on Alpine Linux
FROM ruby:2.4-alpine3.7
# Install dependencies:
# - build-base: To ensure certain gems can be compiled
# - nodejs: Compile assets
# - postgresql-dev postgresql-client: Communicate with postgres through the postgres gem
# - libxslt-dev libxml2-dev: Nokogiri native dependencies
# - imagemagick: for image processing
RUN apk --update add build-base nodejs tzdata postgresql-dev postgresql-client libxslt-dev libxml2-dev imagemagick