From d2cecc15232249ce0ccd1189489aab788c93b41a Mon Sep 17 00:00:00 2001 From: Catalin Constantin Mititiuc Date: Thu, 30 Jul 2026 17:39:28 -0700 Subject: [PATCH] Add README.md --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..56295d5 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +## mojo-app + +An example Mojolicious application. + +--- + +## build docker image + + $ docker build -t mojo_app . + +## serve app + + $ docker run --rm -it -p 3000:3000 mojo_app + +Visit `localhost:3000` with web browser. + +## serve app with local changes + +### install dependencies + + $ docker run --rm -v $PWD:/opt/app --entrypoint carton mojo_app install + +### start the server + + $ docker run --rm -v $PWD:/opt/app -p 3000:3000 mojo_app + +Visit `localhost:3000` with web browser. Changes should load when you reload +the page, without having to restart the server. +