Setup Docker with React for Development & Production | Multi Stage Docker File & more

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 4

  • @frintrovert
    @frintrovert 3 дні тому

    where did you get build folder app/build in 2nd stage because we only created WORKDIR /app
    where did build come from ?

  • @paulsnehasish5830
    @paulsnehasish5830 Місяць тому

    where did u get the nginx folder path like /usr/.....
    BTW nice tutorial showing both dev and prod techniques

    • @codingwithabbas
      @codingwithabbas  Місяць тому +1

      The /usr/share/nginx/html is the default directory used by Nginx to serve static files.

    • @paulsnehasish5830
      @paulsnehasish5830 Місяць тому

      @@codingwithabbas oh thanks