Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
123456789101112131415161718192021FROM ruby:2.6.0
# Setup for current nodejsRUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
# Setup for yarnRUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -\ && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs yarn
RUN mkdir /appWORKDIR /appCOPY Gemfile Gemfile.lock ./RUN bundle install -j "$(expr "$(getconf _NPROCESSORS_ONLN)" - 1)"COPY package.json yarn.lock ./RUN yarn install
COPY . /appEXPOSE 3000