Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM node:11.0.0-alpine

RUN apk update && \
apk add vim git && \
npm install -g npm@6.4.1 \
cordova ionic@4.4.0 \
gulp \
bower

ARG project_dir=/app/

ADD . ${project_dir}
WORKDIR ${project_dir}

# PORT:35729 is a hot reload service
EXPOSE 8100 35729

RUN adduser -D docker

USER docker

# CMD ["ionic", "serve", "--all", "--port", "8100", "--livereload-port", "35729"]
CMD ["ionic", "serve", "--host=0.0.0.0"]
5 changes: 2 additions & 3 deletions ionic.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "BigTop",
"app_id": "",
"type": "ionic-angular",
"integrations": {}
"integrations": {},
"type": "ionic-angular"
}