All checks were successful
Build and Deploy Client / build-and-deploy (push) Successful in 10s
18 lines
396 B
Docker
18 lines
396 B
Docker
|
|
# build angular app
|
|
FROM node:current-alpine AS build
|
|
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
COPY . .
|
|
RUN npm run build -- --configuration production
|
|
|
|
# serve app
|
|
EXPOSE 80
|
|
CMD ["nginx", "-g", "daemon off;"]
|
|
|
|
# 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
|