Dockerizing an Angular application with Nodejs Postgres and NginX | dev and prod | step by step

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024

Комментарии • 2

  • @codeching
    @codeching  Год назад +1

    Additional information that I forgot to record:
    - It's a very important note that in newer Angular versions you have to put "cli": { "analytics": false} into the angular.json to stop angular cli asking for collecting analytics, it could be disturbing when we build our application inside docker container.
    - In docker-compose file at the volume section with the first line Docker will create an own volume where it stores the node_modules folder. With the second line we map everything from the outside server/client folders to inside the container to some folder. So the first line is an exception too from some point of view because the Docker will use the node_modules from it's own volume, not from the mapped one.

  • @ousmanediouf9190
    @ousmanediouf9190 Год назад

    hello please could you help me please? i get this error : "failed to solve: failed to compute cache key: "/app/dist/client" not found: not found"
    can i get a solution to fix it ? Thanks