Initial commit

This commit is contained in:
Stanislav Kolotinskiy 2021-03-19 17:31:38 +02:00
commit 0cec39413f
116 changed files with 9683 additions and 0 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM ruby:2.7.2
RUN 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 && \
apt-get update && \
apt-get -y install nodejs npm yarn && \
gem install bundler
COPY docker/entrypoint.sh /entrypoint.sh
COPY docker/webpack_entrypoint.sh /webpack_entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
WORKDIR "/app"
CMD ["bundle", "exec", "rails", "s", "-b", "0.0.0.0"]