Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.02 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.02 KB

go-qr-web

The simplest of them all, qr code generator and web server to serve it to on a single page.

Style index.html whatever you like, put it in the same folder as main app.

run on windows or linux as usual

run docker image

You can run this image on port 8005 (or choose your port)

docker run -d -p 8005:8005 ghcr.io/ljubomirb/go-qr-web:latest

build image

docker setup has not been tested at all, but it should look something like this

  1. get this copy

git clone https://github.com/ljubomirb/go-qr-web

  1. Build the Docker Image: In the same directory as the Dockerfile, run the following command:

docker build -t go-qr-web .

  1. Run the Docker Container: After building the image, you can run the container with the following command:

docker run -d -p 8005:8005 go-qr-web

This command runs the container in detached mode (-d) and maps port 8005 of the container to port 8005 of your local machine.