Last active
August 29, 2015 14:23
-
-
Save jvoigtlaender/2491f0d9833702e3a64e to your computer and use it in GitHub Desktop.
Dockerfile
This file contains hidden or 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 debian:jessie | |
RUN apt-get update -y && apt-get install --no-install-recommends -y -q curl build-essential git ca-certificates | |
RUN mkdir /nodejs && curl http://nodejs.org/dist/v0.10.33/node-v0.10.33-linux-x64.tar.gz | tar xvzf - -C /nodejs --strip-components=1 | |
ENV PATH $PATH:/nodejs/bin | |
# FROM codenvy/angular-yeoman | |
# RUN sudo npm install --global [email protected] | |
RUN npm install --global [email protected] | |
ENV PATH /nodejs/bin:$PATH | |
# ENV ELM_HOME /usr/local/lib/node_modules/elm/share | |
# # RUN echo "export ELM_HOME=$ELM_HOME" >> ~/.bashrc | |
EXPOSE 3000 | |
ENV CODENVY_APP_PORT_80_HTTP 3000 | |
ENV CODENVY_APP_BIND_DIR $HOME/application | |
CMD elm-package install --yes && elm-make && elm-reactor --port=3000 | |
# CMD find / -name elm* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment