Recently updated a Angular project with the ng update command from version 12 to version 13, at build time a new folder '.angular/cache' was created by Angular CLI, and in updates progress, adds this folder to the .gitignore file.
I want to know, Should the .angular cache folder add to .dockerignore? Is this action necessary or it is good practice?
Should .angular cache folder add to .dockerignore?
1.4k Views Asked by behroozbc At
1
There are 1 best solutions below
Related Questions in ANGULAR
- Is it possible to use ES5 JavaScript with Angular 2 instead of TypeScript?
- Module '"angular2/angular2"' has no exported member 'For'
- import syntax in typescript creating another js file in visual studio
- Separate ts file for imports
- How to use an AngularJS 2 component multiple times in the same page?
- injectables not working in angular 2.0 latest build 26
- Does angular2 bootstrap have a way to dynamically target elements like it does in angular 1.x
- Import {} from location is not found in VS Code using TypeScript and Angular 2
- Angular 2/Typescript: require not found
- ng-switch in Angular2
- Angular 2 import issue: "Zone already exported on window the object!"
- How to make FileReader work with Angular2?
- Writing the most basic Unit test in Angular 2?
- Angular2: Creating child components programmatically
- AngularJS - TypeError: Cannot read property 'canonicalUrl' of undefined
Related Questions in DOCKER
- Docker, redirecting to virtualbox port
- Collect only from STDERR when using Docker syslog logging driver
- How can I create a docker image from the current system?
- Moving Docker Containers Around
- How can I test with serverspec that Jenkins is running in a jenkins docker container?
- How to deploy django 1.8 on Elastic Beanstalk using Docker
- Emulating `docker run` using the golang docker API
- Where are docker images and containers stored when we use it with Windows?
- docker compose, vagrant and insecure Repository
- Commit data in a mysql container
- oh-my-zsh installation returns non zero code
- Use custom docker binary in CoreOS
- Can I use docker image ubuntu 14.04 if my host is 12.04?
- Hide/obfuscate environmental parameters in docker
- How to add initial users when starting a RabbitMQ Docker container?
Related Questions in ANGULAR13
- How can i apply code before an element is erased by an *ngIf in Angular 13?
- <input autocomplete="off" this is not working i am using in angular 13. still is showing lastPass.. in my input filed
- angular13: how to manually add scss files by condition to index.html?
- Error: Module build failed | Angular13: ck-editor postcss-loader error
- reduce same function call inside ngFor loop
- Sticky footer doesn't work on angular application using a flex layout technique
- How to remove multiple object from an array in angular 13
- How to get multiple selected row index in the table in angular 13
- How to get selected row index by checkbox in angular 13
- What is best way to go about replacing 'deployUrl' in angular.json for v13?
- How to I log in to a confidential keycloak server from Angular 13?
- Should .angular cache folder add to .dockerignore?
- Alignment in Expansion Panel of Angular Material
- ngx-source-obfuscation with Angular 13
- Angular: Setting a date field by dropdown menu's selection
Related Questions in NG-UPGRADE
- Change-detection not working properly in ng2 component after navigation via angular1 ui-router
- NgUpgrade: Unable to use templateUrl when upgrading Angular1 components
- AngularJS upgrade to Angular
- Downgraded Angular component with no change detection in AngularJS
- After Angular upgrade to 16 , ng serve compilation fails with many errors
- After Angular 16 upgrade, throws errors for library mydatepicker and angular2-virtual-scroll not compatible with Angular ivy
- Alternative to toPromise with downgradeInjectable
- After Angular 14 Upgrade Every Single Unit Test Fails, "NullInjectorError: No Provider For HTTPClient!"
- Migration failed: Incompatible peer dependencies found
- Should .angular cache folder add to .dockerignore?
- Calling downgradeInjectable to use new Angular service in an AngularJS module throws TypeError
- Angular cli: include angularjs component styles in ngUpgrade hybrid project
- Looking for angular solution to angularJs algorithm with $compile
- Angularjs digest in progress error while using with hybrid app
- Bootstrap Angular 2 with Angular 1
Related Questions in DOCKERIGNORE
- Docker debug a large image layer
- .dockerignore failed in subdirectories with docker-compose
- Should .angular cache folder add to .dockerignore?
- Docker ignore target directories created by mave using .dockerignore file
- .dockerignore not ignoring docker-compose.yml
- Changing Dockerfile's build context directory without changing .dockerignore position
- Recursive exceptions to exclusions in .dockerignore not working as expected
- Why isn't my .Dockerignore file ignoring files?
- Docker COPY cmd that respects .dockerignore?
- .dockerignore file located in subdirectory
- .dockerignore - exclude directory except certain file-types
- .dockerignore workflow unclear
- Is there a way to modify internal .dockerignore file when you do a build?
- Why is my .dockerignore file not working?
- Location for common .dockerignore file
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Depends on what do you want to have in your docker image. If its purpose is to only keep build version of your application you just need whatever was in dist folder. If its result is used to start different ng cli commands you may want to have cache available for them.