3
.dockerignore
Normal file
3
.dockerignore
Normal file
@@ -0,0 +1,3 @@
|
||||
# git
|
||||
.git/
|
||||
.gitignore
|
||||
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM ruby:2.3.1-alpine
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
alpine-sdk \
|
||||
nodejs \
|
||||
tzdata
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
COPY . /app/
|
||||
|
||||
RUN bundle install
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npm install -g bower grunt
|
||||
|
||||
RUN bundle exec rake bower:install
|
||||
|
||||
RUN grunt
|
||||
Reference in New Issue
Block a user