Dockerize Frontend
License and Copyright Notice
By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).
What is the goal or the problem, and why is it important?
The goal of this issue is installing docker for the frontend of ViewOrder. It is important for the execution of the project and to ensure easy operation. Once installed, we will be able to start the project with docker.
How are you going to achieve the goal or solve the problem?
I will achieve this goal through research of proper docker installation and discussion with other CI/CD members from other teams who have recently completed this task.
What will be produced as a result of this effort and where will it live on GitLab?
As a result of this effort, docker will be installed for the frontend. It will live within the frontend folder of the ViewOrder project.
Give a justification of weight or due date.
This issue has a weight of 4 since it will take time to install docker to the frontend of the ViewOrder project and ensure that it is installed properly.
Who will do it, and what will they do?
@JessSpinetti will handle this issue. I will dockerize the frontend of ViewOrder so that we can start the project with docker.
What was the outcome?
I created a docker file for the Frontend of ViewOrder. Currently I have a working demo test for the Frontend of ViewOrder with Docker. When docker is run, you would type start.bat and it will automatically runs and builds the project (localhost:8081 will show the results from the Frontend), type stop.bat to stop the container from running and removes the container. To achieve this, I watched a docker tutorial and used express and node.js to install docker. This correlates with how PlaceOrder initialized Docker as well so there will be consistency across the project. A docker ignore file was also created. At this time I believe the startup and backfiles will only work for Windows (on Mac you would have to do the commands manually). Below is a link for the tutorial I utilized.
Template Version 1.0.0