Merge branch 'main' of http://10.9.0.0/ttc/micro-frontend
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 6m8s
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 6m8s
This commit is contained in:
@@ -26,6 +26,10 @@ jobs:
|
||||
ng build
|
||||
- name: Build docker image
|
||||
run: |
|
||||
set +e
|
||||
docker rm $(docker stop $(docker ps -a -q --filter ancestor=accounting-frontend:latest --format="{{.ID}}"))
|
||||
set -e
|
||||
docker image rm -f accounting-frontend:latest
|
||||
docker build . -t accounting-frontend:latest
|
||||
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
ADD nginx.conf /etc/nginx/nginx.conf
|
||||
RUN rm /etc/nginx/conf.d/default.conf
|
||||
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
ADD accounting-ng-nuttakit/dist/accounting-ng-nuttakit/browser /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user