1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Set up frontend on docker images

This commit is contained in:
2016-03-03 13:39:56 +00:00
parent 85f9346001
commit 089f0e3162
2 changed files with 11 additions and 1 deletions

View File

@@ -13,8 +13,13 @@ ADD Gemfile* /tmp/
WORKDIR /tmp
RUN bundle install --without production
RUN npm install -g lineman
ADD frontend/package.json /tmp/
RUN npm install
RUN mkdir /rails
WORKDIR /rails
RUN cp -a /tmp/node_modules /rails/frontend/node_modules
VOLUME ["/rails"]
EXPOSE 3000