Files
docker-compose-hatthieves/testing/crossposter/crossposter/Dockerfile
2020-05-28 10:40:37 +00:00

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