Este commit está contenido en:
Your Name
2020-05-28 10:40:37 +00:00
padre fbd9d7d5d7
commit 6920fcbd76
Se han modificado 5 ficheros con 608 adiciones y 0 borrados

Ver fichero

@@ -0,0 +1,12 @@
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

Ver fichero

@@ -0,0 +1,4 @@
#!/bin/sh
bin/bundle exec rake assets:precompile
bin/bundle exec sidekiq -c 5 -q default &
bin/bundle exec puma -C config/puma.rb