From 5ec80b99e1da8ac3db351a6210989b5e2e937525 Mon Sep 17 00:00:00 2001 From: Loki Date: Mon, 11 Mar 2024 12:31:45 +0800 Subject: [PATCH] add: docker --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 97f723e..8966a0c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,34 @@

StakeVladDracula pierces all !

+ + +## Docker Support + +This project includes support for Docker. Find the Docker image on [Docker Hub](https://hub.docker.com/repository/docker/hermstudio/stakevladdracula-nginx/general). + +To push a new tag to the Docker image, use the following command: + +```bash +docker push hermstudio/stakevladdracula-nginx: +``` + +### Running the Container +After pulling the image, you can run the container using: +```bash +docker run -d -p 80:80 hermstudio/stakevladdracula-nginx:latest +``` +This command will start the container and listen on port 80. Adjust the port settings and other configurations according to your needs. + +### Pushing a New Image Version +If you have made changes and wish to push a new version of the image to Docker Hub, tag your local image accordingly and then push it using: +```bash +docker tag hermstudio/stakevladdracula-nginx:yourlocaltag hermstudio/stakevladdracula-nginx:tagname +docker push hermstudio/stakevladdracula-nginx:tagname +``` + + + ## Deploy ### Vercel