Exciting News! We’ve developed an Angular application intricately intertwined with Dotnet for a robust backend experience. Featuring essential components like login, signup pages, and an engaging homepage showcasing our team’s details, our application is now ready for deployment. Leveraging Docker’s power, we’ve seamlessly migrated our Angular application into containers.
To streamline deployment, we’ve crafted custom Docker images for both the backend and frontend. With these images in hand, we’ve assembled a Docker Compose file, simplifying the process of deploying our application into the Docker environment.
Open a terminal and navigate to the directory containing your docker-compose.yml file.
Run the docker-compose up command to start the deployment.
docker-compose up -d
Access your application using the specified ports (e.g., http://localhost:port).
Verify that both frontend and backend services are running correctly.
You can directly clone the all docker files and dependent code by using the below command.
git clone https://github.com/anveshmuppeda/docker-with-dotnet.git
Run the docker build command to build the Docker image for the frontend.
cd dockerfiles/frontend
docker build -t frontend-image-name --file angular.Dockerfile .
cd dockerfiles/frontend
docker build -t backend-image-name --file dotnet.Dockerfile .
Anvesh Muppeda |
Sai Manasa Kota |
Teja Sai Srinivas |
Saketh Rao Vardhineni |
Vishwasena Raidu Nyaramneni |