Build and Dockerise a react application, reduce the docker image effectively and push to dockerhub

SPECIFICATION

In this project, you are going to use a simple web service which parses user messages and adds your message to a Redis Server. It is similar to a voicemail where the users can leave messages. 

This project needs to run the application on Kubernetes, hence dockerizing is the primary step in this project. Hence, you will learn how to enable the application to run in docker containers. 

ACCEPTANCE CRITERIA

  1. react application is dockerised
  2. the docker image size is greatly reduced
  3. the docker image is pushed to dockerhub

HELPFUL ARTICLES, BLOGS AND VIDEOS

  1. https://depot.dev/blog/how-to-reduce-your-docker-image-size
  2. https://devopscube.com/reduce-docker-image-size/
  3. https://www.knowledgehut.com/blog/web-development/how-to-dockerize-react-app


Good Luck!!!



Activities



  • Avatar

    Ayomide added a

    June 23, 2024, 9:28 a.m. submission
    submission:

    Python , DjangoGraphQL ,Node.js ,JavaScript ,React ,Postgres ,Redis ,Flutter ,MongoDB ,AWS ,Trello ,Heroku ,HTML/CSS.


  • Avatar

    Ayomide added a

    Oct. 29, 2023, 8:40 p.m. submission
    submission:

    If you set the Location header manually that's true but if you use HttpResponseRedirect or the redirect shortcut, it calls iri_to_uri which calls urlencode for you so you don't need to do it yourself. If fact, if you do it yourself, https://github.com/Alsaheem/wolverine the URL will get double encoded which mangles it. – Ryan Nowakowski.


  • Avatar

    Ayomide added a

    Oct. 29, 2023, 8:40 p.m. comment
    comment:

    Love this project.