Skip to content

Instantly share code, notes, and snippets.

@kobkrit
Created April 9, 2018 09:34
Show Gist options
  • Save kobkrit/0475a393e5e522557295a2042abc9d93 to your computer and use it in GitHub Desktop.
Save kobkrit/0475a393e5e522557295a2042abc9d93 to your computer and use it in GitHub Desktop.
FROM node:9
MAINTAINER Kobkrit
LABEL "version"="1.0.0"
RUN npm install -g ionic cordova
RUN mkdir -p /var/www/app
WORKDIR /var/www/app
ADD package.json ./
RUN npm i
ADD . /var/www/app
EXPOSE 8000
CMD ["ionic", "cordova", "run", "browser"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment