Skip to content

Commit

Permalink
Create Dockerfile.prod-armv7
Browse files Browse the repository at this point in the history
  • Loading branch information
alkcxy committed Sep 1, 2019
1 parent fcdc790 commit 0b466ca
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile.prod-armv7
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM arm32v7/ruby:2.5-alpine
MAINTAINER Alessio Caradossi <[email protected]>
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

0 comments on commit 0b466ca

Please sign in to comment.