Open e7d opened 2 months ago
This PR adds the ability to build a Docker image, as requested by https://github.com/j2qk3b/ebook-demo/issues/2
To do so, run:
docker build -t <IMAGE_NAME> -f docker/Dockerfile .
Please replace <IMAGE_NAME> with your custom Docker image name.
<IMAGE_NAME>
You can then publish it to Docker Hub with:
docker publish <IMAGE_NAME>
If you want to try it, I built a public example available here: https://hub.docker.com/repository/docker/e7db/ebook-demo You can, for example, test it locally on port 8123with:
docker run --rm -p 8123:80 e7db/ebook-demo
Then go to: http://localhost:8123
I did not add anything on the README.md, as I prefer to let you word it as you please. Cheers.
Thanks, looks pretty good. Installed it via docker-compose under Portainer, all accessible via traefik, works like a charm!
This PR adds the ability to build a Docker image, as requested by https://github.com/j2qk3b/ebook-demo/issues/2
To do so, run:
Please replace
<IMAGE_NAME>
with your custom Docker image name.You can then publish it to Docker Hub with:
If you want to try it, I built a public example available here: https://hub.docker.com/repository/docker/e7db/ebook-demo You can, for example, test it locally on port 8123with:
Then go to: http://localhost:8123
I did not add anything on the README.md, as I prefer to let you word it as you please. Cheers.