13 líneas
522 B
Docker
13 líneas
522 B
Docker
FROM ruby:2.6
|
|
ENV RAILS_ENV production
|
|
ENV RACK_ENV production
|
|
RUN curl -sL "https://deb.nodesource.com/setup_8.x" | bash -
|
|
RUN apt update && apt -y upgrade && apt install -y --allow-downgrades nodejs=8.17.0-1nodesource1 git libidn11-dev libmagic-dev && apt clean
|
|
RUN npm i yarn -g
|
|
RUN git clone --depth=1 https://github.com/renatolond/mastodon-twitter-poster /crossposter
|
|
WORKDIR /crossposter
|
|
RUN gem update --system
|
|
RUN bin/bundle update --all
|
|
RUN bin/bundle install --deployment --without development test
|
|
RUN bin/yarn
|