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.
splits-io Dockerfile
12345678910111213141516171819202122232425262728293031323334FROM ruby:2.5.1
# Setup for current nodejsRUN curl -sL https://deb.nodesource.com/setup_8.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
# Play with these if you wantENV READ_ONLY_MODE 0ENV ENABLE_ADS 0
# Nothing below should ever need to be changedENV RAILS_ENV developmentENV NODE_ENV development
ENV S3_BUCKET splits-ioENV AWS_REGION localENV AWS_ACCESS_KEY_ID beepENV AWS_SECRET_KEY boop
COPY . /appEXPOSE 3000