In my case I have changed it to docs folder in the outputPath setting of angular.json file in my app. Step 3: Install Angular Material, Angular CDK. Step 2: Create a workspace for Angular Project. It works with projects using: Babel, TypeScript, Node, React, Angular. How do I add angular materials Steps to install Angular Material: Step 1: Install the Angular CLI. Jest is a delightful JavaScript Testing Framework with a focus on simplicity. Note – if you are using your Angular app then replace docs with dist/ in the Dockerfile because by default build items are created at that location. Open a command prompt (or PowerShell), and enter the following: node v.
# Stage 1ĬOPY -from=build-step /app/docs /usr/share/nginx/html
Write following instructions in the Dockerfile and save it. Now in the terminal change directory to your Angular app folder and create a file name “Dockerfile” without any file extension using any dev editor like VS Code or just use Notepad.