* Adds optional support for Docker/Compose * Upgrades Dockerfile to use a multi-stage build * Gets rest of stack running in Docker * Renames queue to jobs, uses jobs namespace command * Reverts file * Adds webpacker * Fixes yarn check issue * Adds Database URL default connection string * Remove daemons gem * Update huskyhook config * Update seed.rb * Create .dockerignore * Increase RackTimeout's config * Simplify Docker config * Update README * Remove postgres url default * Change docker entry point to 3000 * Remove duped integrity setting
17 lines
335 B
Docker
17 lines
335 B
Docker
FROM starefossen/ruby-node:2-8-stretch
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY Gemfile Gemfile.lock yarn.lock ./
|
|
|
|
RUN yarn install && yarn check --integrity
|
|
|
|
ENV RAILS_ENV development
|
|
|
|
ENV YARN_INTEGRITY_ENABLED "false"
|
|
|
|
RUN bundle install --jobs 20 --retry 5
|
|
|
|
ENTRYPOINT ["bundle", "exec"]
|
|
|
|
CMD ["rails", "server", "-b", "0.0.0.0", "-p", "3000"]
|