
# build angular app
FROM node:current-alpine AS build

WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .

# serve app
EXPOSE 80
CMD ["npm", "run", "start", "--", "--host", "0.0.0.0", "--poll", "2000"]

# docker build -t phish-client:latest .
# docker tag phish-client:latest git.vxbard.net/homeburger/phish-client:1.0
# docker push git.vxbard.net/homeburger/phish-client:1.0
