Sha256: 808c64b2d2a2830dda15d24c4c243b06a9728997265178b8313d75f293cb65a8

Contents?: true

Size: 510 Bytes

Versions: 2

Compression:

Stored size: 510 Bytes

Contents

FROM ruby:2.3.3
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
#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

2 entries across 2 versions & 1 rubygems

Version Path
htcht-0.1.1 lib/htcht/cli/rails/Dockerfile
htcht-0.1.0 lib/htcht/cli/rails/Dockerfile