diff --git a/.circleci/config.yml b/.circleci/config.yml index aebc2333b..0a2c964e4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,7 @@ # This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml' version: 2.1 - +orbs: + slack: circleci/slack@4.4.4 jobs: build: working_directory: ~/app/client @@ -39,4 +40,17 @@ jobs: name: Publish Docker Image to Docker Hub command: | docker login -u abouhuolia -p 1532015325_ASdfqwer - docker push abouhuolia/bigcapital-client:latest \ No newline at end of file + docker push abouhuolia/bigcapital-client:latest + slack-notify: + docker: + # replace with your preferred image + - image: cimg/base:stable + steps: + - slack/notify: + branch_pattern: master + channel: development + +workflows: + example-workflow: + jobs: + - slack-notify \ No newline at end of file diff --git a/client/Dockerfile b/client/Dockerfile index 592e2f341..acb11ce71 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -2,13 +2,6 @@ FROM node:14.15.0 as build USER root -ARG WEB_REVERSE_PROXY_PORT=8000 -ARG NO_DEFAULT=false -ARG REACT_APP_SERVICES_HOST=/services/m - -ENV WEB_REVERSE_PROXY_PORT=$WEB_REVERSE_PROXY_PORT -ENV NO_DEFAULT=$NO_DEFAULT - WORKDIR /app COPY ./package.json /app/package.json