Last active
October 3, 2017 09:28
-
-
Save haikyuu/c57d1a148588a06b71449931bbc124c3 to your computer and use it in GitHub Desktop.
node Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
MAINTAINER Abdellah Alaoui | |
RUN apt-get update \ | |
&& apt-get install -y locales \ | |
&& locale-gen en_US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
ENV LANGUAGE en_US:en | |
ENV LC_ALL en_US.UTF-8 | |
RUN apt-get update \ | |
&& apt-get install -y curl git \ | |
&& curl -sL https://deb.nodesource.com/setup_8.x | bash - \ | |
&& apt-get install -y nodejs build-essential \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
EXPOSE 9000 | |
CMD ["node"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment