2015-07-27 16:53:02 +01:00

24 lines
431 B
Docker

FROM ruby:2.2
RUN apt-get update
RUN apt-get --yes install locales
RUN dpkg-reconfigure -f noninteractive locales && \
locale-gen C.UTF-8 && \
/usr/sbin/update-locale LANG=C.UTF-8
RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \
locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN apt-get --yes install nodejs
WORKDIR /usr/src/app
EXPOSE 4000
CMD \
rake bootstrap && \
rake preview