fix(docker): new middleman requires JS runtime

This commit is contained in:
Adrian Perez
2016-01-02 01:51:06 +01:00
parent f90e6b076d
commit 75f61557a2

View File

@@ -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"]