From 0b466cafefccde6e33e5ff10124d78a0c4231cce Mon Sep 17 00:00:00 2001 From: Alessio Caradossi Date: Sun, 1 Sep 2019 16:42:50 +0200 Subject: [PATCH] Create Dockerfile.prod-armv7 --- Dockerfile.prod-armv7 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile.prod-armv7 diff --git a/Dockerfile.prod-armv7 b/Dockerfile.prod-armv7 new file mode 100644 index 0000000..b5682ea --- /dev/null +++ b/Dockerfile.prod-armv7 @@ -0,0 +1,12 @@ +FROM arm32v7/ruby:2.5-alpine +MAINTAINER Alessio Caradossi +RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - +RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - +RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list +RUN apt-get update && apt-get install -qq -y build-essential nodejs yarn git default-libmysqlclient-dev --fix-missing --no-install-recommends +RUN mkdir /bilancio +WORKDIR /bilancio +COPY . /bilancio +RUN bundle install --without development test +RUN yarn install +RUN rails webpacker:compile