mirror of
https://github.com/danbulant/api_docs
synced 2026-05-19 12:19:08 +00:00
fix(docker): new middleman requires JS runtime
This commit is contained in:
parent
f90e6b076d
commit
75f61557a2
1 changed files with 4 additions and 0 deletions
|
|
@ -2,4 +2,8 @@ FROM ruby:onbuild
|
|||
MAINTAINER Adrian Perez <adrian@adrianperez.org>
|
||||
VOLUME /usr/src/app/source
|
||||
EXPOSE 4567
|
||||
|
||||
RUN apt-get update && apt-get install -y nodejs \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
CMD ["bundle", "exec", "middleman", "server", "--force-polling"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue