mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
24 lines
431 B
Docker
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
|