Sha256: 04f6f33e1b5074546a502c4adc159bae6e93913a7bb1067e3668fb61970edebd

Contents?: true

Size: 734 Bytes

Versions: 1

Compression:

Stored size: 734 Bytes

Contents

FROM ruby:2.4

# System dependencies: Add here any librairies needed for certain gems
RUN apt-get update \
  && apt-get install -y libpq-dev \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Application working directory
WORKDIR /home/dovico

# WARNING The following line is important to keep bundle config
# inside the app directory
ENV  BUNDLE_APP_CONFIG /home/dovico/.bundle/
# Copy dependency file
COPY ./dovico-client.gemspec /home/dovico/dovico-client.gemspec
COPY ./lib/dovico/version.rb /home/dovico/lib/dovico/version.rb
COPY ./Gemfile /home/dovico/Gemfile

# Bundle
RUN bundle install

# Copy code
COPY ./ /home/dovico

# What to launch on container startup
ENTRYPOINT ["make"]
CMD        ["run"]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dovico-1.0.0 Dockerfile