Skip to content

Instantly share code, notes, and snippets.

@frankV
Created December 22, 2015 06:06
Show Gist options
  • Save frankV/d0bb62d99b5c04704889 to your computer and use it in GitHub Desktop.
Save frankV/d0bb62d99b5c04704889 to your computer and use it in GitHub Desktop.

Revisions

  1. frankV created this gist Dec 22, 2015.
    16 changes: 16 additions & 0 deletions .dockerignore
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    Dockerfile
    config.xml
    .sass-cache
    .editorconfig
    .io-config.json
    .dockerignore

    hooks/
    platforms/
    node_modules/
    resources/
    plugins/
    www/css/*.css

    *.zip
    *.tar*
    15 changes: 15 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    FROM node:0.12

    COPY . /www/app

    RUN npm install -g cordova ionic
    RUN npm install -g bower
    RUN npm install -g gulp

    WORKDIR /www/app
    RUN npm install

    EXPOSE 8100

    ENTRYPOINT ["ionic"]
    CMD ["serve", "8100", "--address", "0.0.0.0"]