Deploying A React App To Docker | Become A React Pro

Поделиться
HTML-код
  • Опубликовано: 2 июн 2024
  • 🌟 Hostinger - hostinger.com/pedrotech
    Use the code PEDROTECH to save 10% on premium VPS shared hosting and get up to 91% off on all yearly hosting plans.
    Join our Discord: / discord
    🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
    🐙 GraphQL Course: codedamn.com/learn/graphql-fo...
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: machadopedro.com
    Linkedin: / machadop1407
    Instagram: / pedro.fmachado_
    Github: github.com/machadop1407
    Business Email: pedro@pedrotech.co
    🌟 Gear / Hardware I Use and Recommend 🌟
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    💻 amzn.to/42kqFuM 💻 Monitor
    🖱️amzn.to/3C0ZhHb 🖱️ Mouse
    📷 amzn.to/3OHJvbM 📷 My Camera
    🎤 amzn.to/3oxSthj 🎤 My Microphone
    ⌨️ amzn.to/3oFPpj1 ⌨️ My Microphone
    ⚡ amzn.to/3MYMnzM ⚡ LED Lights In the Background
    Tags:
    - ReactJS Tutorial
    - ReactJS and MySQL
    - NodeJS Tutorial
    - API Tutorial
    0:00 | Intro
    00:56 | What is Docker? Why do we use it?
    02:34 | What is Docker Image?
    03:51 | Docker Application Overview
    05:15 | Creating the Docker file
    09:09 | Run the Docker Application
    13:23 | Run React using the Image
    16:00 | Hostinger
    16:29 | Hostinger's VPS Plan
    19:54 | Setting up Hostinger VPS
    #reactjs #coding
  • НаукаНаука

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

  • @PedroTechnologies
    @PedroTechnologies  2 месяца назад +3

    🌟 Hostinger - hostinger.com/pedrotech
    Use the code PEDROTECH to save 10% on premium VPS shared hosting and get up to 91% off on all yearly hosting plans.

    • @Benthetech-qn2lf
      @Benthetech-qn2lf 2 месяца назад

      please pedro the suggestion in your terminal how did you config it please?

  • @Jeridi
    @Jeridi 2 месяца назад +9

    Finally, Pedro talked about 🐳 Docker. Thanks! 🙌

  • @vigneshm8955
    @vigneshm8955 2 месяца назад +18

    Can you do a complete tutorial on docker

    • @PedroTechnologies
      @PedroTechnologies  2 месяца назад +18

      "Learn Docker in 1 hour" Coming soon :)

    • @kajolroy9970
      @kajolroy9970 2 месяца назад

      with cicd pipeline ⚡⚡@@PedroTechnologies

    • @skyhappy
      @skyhappy 2 месяца назад +1

      There are also so many tutorials....why make one more? If you can make a better one, how will yours be better? Might be worth just directing people to a good one you found after 30 mins of research than spending 5 hours to make another vid.

    • @PedroTechnologies
      @PedroTechnologies  2 месяца назад +10

      @@skyhappy I mean, you can technically say that about all my videos. I am not sure why people prefer my videos, but I feel like we all learn differently. Maybe my brain is more aligned with my audience, so they understand my explanations quickly. What i always do though, is that I always watch other peoples content on what I am recording, and i make sure I fill in the gaps that they forgot.

    • @skyhappy
      @skyhappy 2 месяца назад

      @@PedroTechnologies regarding looking at other people's videos, it's good to hear you do that. Looking up in youtube a topic to learn is mentally taxing. There are so many videos. It's cumbersome even though I am very good at researching identifying the good ones. You are one of them, your teaching style is hands on and practical. You are clear and easy to understand based on the react playlist of yours I watched.
      It's be nice if all creators would hold back more from making another video by doing research on existing videos. There are so many bad ones out there

  • @user-nf1ww4iq8g
    @user-nf1ww4iq8g 2 месяца назад +8

    OMG you again?? I really need to learn docker skill and your video is here just in time 🥰

  • @fatimaarshad8100
    @fatimaarshad8100 2 месяца назад +1

    Perfect! I really needed this Docker video. Thank you :)

  • @sadique_x_
    @sadique_x_ 2 месяца назад +2

    rooting for your 200k Pedro!

  • @muhammedmeshal6133
    @muhammedmeshal6133 2 месяца назад +1

    Man you are awesome, expecting more from you keep up your good work bro ❤❤

  • @jcdock
    @jcdock 19 дней назад

    I swear everytime I search for anything to do with react I always end up on your videos. Thanks for all your work!

  • @rayusaki88
    @rayusaki88 2 месяца назад +1

    Thank you PedroTech 🙌🏻🙌🏻

  • @jneves8827
    @jneves8827 29 дней назад

    Thanks, Obrigado, Pedro pelo vídeo!!

  • @alexdin1565
    @alexdin1565 2 месяца назад +9

    Hi Pedro please if you can complete the tutorial
    how we can add our domain name ?
    if we can host multiple websites with different domains in same server
    guys, please if you agree like my comment

  • @jainulpatel
    @jainulpatel 2 месяца назад +1

    So good explanation ❤

  • @olamas92
    @olamas92 2 месяца назад +2

    Pedro thanks for this tutorial 🎉🥳. I'm also a fun of hostinger I have been using their shared hosting for most of my projects in php for years now. I recently started using react for my projects and I was worry I have to leave hostinger to other server's.
    So as I said I recently started using react in my projects, I have been following most of your tutorials and mostly u have the "client" folder and the "server" folder. That is what I have also been doing with my database connected to mysql database. Please can u do a follow up tutorials on deploying such project and it's database on hostinger. Thanks a lot 🙏...

  • @webdeveloper2769
    @webdeveloper2769 2 месяца назад +1

    Thank you sharing great knowledge with us, anyway please do some videos with ci/cd github actions

  • @victorkadiata1249
    @victorkadiata1249 2 месяца назад

    Is it possible skip the node_modules folder with the scp command, to avoid a long uploading process?

  • @abdirahmanabdullahi5471
    @abdirahmanabdullahi5471 2 месяца назад

    Is there a way to create docker image for existing postgres database with its data? I have spring boot application that works with postgres. I want to create an image using with using docker compose file.

  • @shadz-dev
    @shadz-dev 2 месяца назад +1

    Please create a video on deploying nextjs project on hostinger with a custom domain

  • @tomasburian6550
    @tomasburian6550 19 дней назад

    So I can put my apps on Hostinger, even those that have a node.js backend? I'd need some place where I can deploy full stack apps.
    Also, do they host domain names? I'm looking for a place where I can put my websites and that can provide me with https protocol.

  • @abdirahmanabdullahi5471
    @abdirahmanabdullahi5471 2 месяца назад

    Hi
    How do you import data from database? For example, instead of using official postgres docker image, can you use create docker image with its data?
    How would I do it if I have my docker compose file as this:
    services: psql-db: image: postgres container_name: psql-db restart: always environment: - POSTGRES_USER=admin - POSTGRES_PASSWORD=1234 - POSTGRES_DB=recipe ports: - '5432:5432'

  • @waleedsharif618
    @waleedsharif618 2 месяца назад

    They wont update create react app anymore nor its production ready anymore, right ?

  • @Venom-hb6mb
    @Venom-hb6mb Месяц назад

    What color themes do you have in vscode here?

  • @Solohd12
    @Solohd12 2 месяца назад

    Thanks bro❤

  • @cyeg12c
    @cyeg12c 2 месяца назад

    Hey man, I have a small question in Dockerfile. Is this how to do in production. Don't we have to build and serve with nginx.?

    • @zainulkhan8381
      @zainulkhan8381 2 месяца назад +3

      Nginx is a server used to host your Node.js application. You'll need to buy a VPS and set it up as mentioned before. However, in this video, he used Hostinger, which handles things behind the scenes, so you don't have to worry much about configuration. And about production env it depends upon your personal choice whether you purchase your own server or take a shared hosting and all, it's completely your choice how much you want to scale your app

    • @PedroTechnologies
      @PedroTechnologies  2 месяца назад +1

      Great response @zainulkhan8381, I prefer to use hostinger tbh (saying this out of my scope of being sponsored by them), it just makes things way easier. But if you want to handle it on your own, you can do it as well :) It is all about opportunity cost, I find the cost of having to handle it myself high!

    • @zainulkhan8381
      @zainulkhan8381 2 месяца назад

      @@PedroTechnologies I know Pedro you are not promoting or anything my response was just to give him a little idea about how we can host our apps preferring our use case and traffic. I too have hosted my websites on firebase, herouku and digital ocean. My intention was solely to give him an insight. Please don't take my response in the wrong way you are one of the tutors I admire the most I have been following you for the past 2 years and have learnt react from your tutorials only. Deep respect for you 🙌

    • @PedroTechnologies
      @PedroTechnologies  2 месяца назад +1

      Noo loll I didn't think you were promoting anything hahaha I meant to say I was not promoting hostinger because of the sponsorship. You are good, i liked your response :)

    • @zainulkhan8381
      @zainulkhan8381 2 месяца назад

      @@PedroTechnologies Thanks 😅 your complement means a lot to me🙏

  • @VarunDeva23
    @VarunDeva23 2 месяца назад

    This is for dev purpose
    Do a tutorial for production build process using docker

  • @Benthetech-qn2lf
    @Benthetech-qn2lf 2 месяца назад +1

    If I watch 5millions Video I'll still come back to yours even if it's old broooooooo you're awesome I love you so much I don't have money I would have give you lol 😂 😂

  • @mxveesh
    @mxveesh 2 месяца назад +1

    Hey Pedro, at 26:53 there's a notification at the top right corner which exposes a phone number that you forgot to censor.

    • @PedroTechnologies
      @PedroTechnologies  2 месяца назад +1

      Woahh thank you!! Just added a blur to that! I appreciate it :)

    • @mxveesh
      @mxveesh 2 месяца назад

      @@PedroTechnologies no worries! Cheers for the content you make 🍻

  • @godofwar8262
    @godofwar8262 2 месяца назад +1

    Bro please can you start backend development from scratch and latest paid or free both will do

  • @LarsRyeJeppesen
    @LarsRyeJeppesen 2 месяца назад +1

    Pedro Tech = I only know React

    • @PedroTechnologies
      @PedroTechnologies  2 месяца назад +1

      I'm currently working more as an IOS/backend engineer :) But React is what my channel is, if I make videos on other topics the algorithm doesn't promote it :/

  • @maxmaul-pr2og
    @maxmaul-pr2og 11 дней назад

    kkkkkkkkk mano brazuca descobre na hora brasileiro falando ingles tava desconfiado até ver o nome kkk

  • @ZiaCodes
    @ZiaCodes 2 месяца назад

    Why is Docker Image 600 MB?

    • @mxveesh
      @mxveesh 2 месяца назад

      600 MB is alright for a docker image since it uses a base image (the environment that your project runs on) which has it's own size. One of my python project image was 5gb in size lol

  • @johnadepelumi93
    @johnadepelumi93 2 месяца назад +1

    second, I guess

  • @zainulkhan8381
    @zainulkhan8381 2 месяца назад +1

    Ok Guys Third

  • @pixelbulb993
    @pixelbulb993 2 месяца назад +1

    First