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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user