This is the source code for my personal website, which serves as a hub for links to my social media profiles, including GitHub, LinkedIn, and other relevant networks. Additionally, the website showcases some of the projects I have developed, along with details about my work and educational experience.
- Backend: C# and Blazor
- Frontend: MudBlazor (UI component library)
- Containerization: Docker
To build and run the website in a Docker container, follow these steps:
Run the following command in the root directory of the project to build the Docker image:
docker build -t jazperdk .
After building the image, you can run the Docker container with the following command. Replace 80
with your preferred port if needed:
docker run -d -p 80:8080 jazperdk
If you want to bind the logs to a local folder, the website logs are stored in the Docker container at /logs/website.log
. You can mount a local directory to the container to store these logs outside of the container. For example:
docker run -d -p 80:8080 -v /path/to/local/logs:/logs jazperdk
This will bind the /logs/website.log
file in the container to your specified local folder.
By default, the website runs on port 8080
within the container. You can bind this to any port on your host system when running the container.