This application uses Docker for easy setup and distribution. Follow the steps below to build and run the application with Docker:
- Docker: If you haven't installed Docker, you can download it from the official Docker website.
-
Navigate to the directory containing the Dockerfile.
-
Build the Docker image by running the following command:
docker build -t shoeshop .
This command builds a Docker image using the Dockerfile in the current directory and names the image as shoeshop.
-
Running the Docker Container
docker run -p 3000:5173 -d shoeshop
This command runs the shoeshop Docker image as a container, maps port 3000 on your host machine to port 5173 on the Docker container, and runs the container in detached mode.
You can now access the application at http://localhost:3000.