Skip to content

Instantly share code, notes, and snippets.

@andreleoni
Created August 26, 2017 02:40
Show Gist options
  • Save andreleoni/b0a92d2bfeb3fd8aa6e7e68cf3f57113 to your computer and use it in GitHub Desktop.
Save andreleoni/b0a92d2bfeb3fd8aa6e7e68cf3f57113 to your computer and use it in GitHub Desktop.
my default dockerfile
FROM ruby:2.4.1-slim
RUN apt-get update && apt-get install -qq -y --no-install-recommends \
build-essential nodejs libpq-dev imagemagick
ENV INSTALL_PATH /my_app
RUN mkdir -p $INSTALL_PATH
WORKDIR $INSTALL_PATH
COPY Gemfile ./
ENV BUNDLE_PATH /box
COPY . .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment