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
123456789101112131415161718192021222324252627282930313233343536373839FROM ruby:2.4.2
# 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
# Fill in your Twitch client information if you want login/signup to work# You can make a Twitch client at https://dev.twitch.tv/dashboard/appsENV TWITCH_CLIENT_ID put_your_client_id_hereENV TWITCH_CLIENT_SECRET put_your_client_secret_here
# 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