Skip to content

Instantly share code, notes, and snippets.

View williamgurzoni's full-sized avatar

William Gurzoni williamgurzoni

View GitHub Profile
@williamgurzoni
williamgurzoni / Dockerfile
Created October 16, 2021 18:18 — 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