Sha256: bfc5043eed37ac5aaa168e6661d540b404ce03b4187643313d680587e0209b76

Contents?: true

Size: 857 Bytes

Versions: 1

Compression:

Stored size: 857 Bytes

Contents

# Use the barebones version of Ruby 2.6.1
FROM ruby:2.6

# Install dependencies:
# - build-essential: To ensure certain gems can be compiled
# - nodejs: Compile assets
# - bundler: ensure most recent version is installed
RUN apt-get update && apt-get install -qq -y build-essential --fix-missing --no-install-recommends
RUN gem install bundler

# Set an environment variable to store where the app is installed to inside
# of the Docker image.
ENV LANG C.UTF-8
ENV BUNDLE_PATH /bundle
ENV INSTALL_PATH /addressfinder-ruby
RUN mkdir -p $INSTALL_PATH

# Create address cleansing directories
RUN mkdir -p $INSTALL_PATH/cleansing/originals
RUN mkdir -p $INSTALL_PATH/cleansing/cleansed

# This sets the context of where commands will be ran in and is documented
# on Docker's website extensively.
WORKDIR $INSTALL_PATH

ADD . $INSTALL_PATH

RUN bundle install 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
addressfinder-1.7.0 Dockerfile