dockerizing the app

This commit is contained in:
Tommy Ku
2017-03-31 02:05:57 +08:00
parent 0a9c107ea1
commit 27a3eb1677
2 changed files with 20 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM ruby:2.3.1-alpine
RUN apk add -U alpine-sdk nodejs
WORKDIR /app/
COPY . /app/
RUN bundle install
RUN npm install
RUN npm install -g bower grunt
RUN bundle exec rake bower:install
RUN grunt