Skip to content

Instantly share code, notes, and snippets.

@tejasmob
Forked from frankV/.dockerignore
Created November 10, 2018 12:28
Show Gist options
  • Save tejasmob/5d7f4a4b6e7eb43d7daec1c4492d3ae6 to your computer and use it in GitHub Desktop.
Save tejasmob/5d7f4a4b6e7eb43d7daec1c4492d3ae6 to your computer and use it in GitHub Desktop.
Dockerfile for an Ionic Framework Project
Dockerfile
config.xml
.sass-cache
.editorconfig
.io-config.json
.dockerignore
hooks/
platforms/
node_modules/
resources/
plugins/
www/css/*.css
*.zip
*.tar*
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"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment