Sha256: dcb9dd6bee71fb3d8c617ad8ff6c137de1f87c51764b0c8d0d9df92538bdd0b7

Contents?: true

Size: 549 Bytes

Versions: 1

Compression:

Stored size: 549 Bytes

Contents

FROM ruby:set_ruby_version
MAINTAINER stevetwitte@gmail.com

RUN apt-get update && apt-get install -y \
  build-essential \
  locales \
  nodejs

RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

RUN mkdir -p /app
WORKDIR /app

RUN gem install rails --version set_rails_version
#COPY Gemfile Gemfile.lock ./
#RUN gem install bundler && bundle install --jobs 20 --retry 5

COPY . ./

EXPOSE 3000

CMD ["rm", "-f", "tmp/pids/server.pid", "&&", "bundle", "exec", "rails", "s", "-b", "0.0.0.0", "-p", "3000"]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
htcht-0.1.3 lib/htcht/cli/rails/Dockerfile