diff --git a/README.md b/README.md index 455b94e..486208a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ You can pull & run the public docker image from github package registry: `$ docker pull ghcr.io/manasky/lorem-server:latest` #### Run docker image: -To run the container you must pass the app arguments via the `.env` file. To this, create a file named `.env` & set the options in uppercase & snail case format. +To run the container you must pass the app arguments via the `.env` file. To this, create a file named `.env` & set the options in uppercase & snake case format. An example of .env file: ``` @@ -57,4 +57,4 @@ Your images directory must link to the container, to this you can use -v argumen * `~/Pictures:/app/images` sets up a bindmount volume that links the directory `/app/images` from inside the app container to the directory `~/Pictures` on the host machine (here, your system). The app image directory is set in the `.env` file as `/app/images`, so here the `~/Pictures` is mounted to that. -After container running, the app will scan `/app/images` which is mounted to the directory `~/Pictures` of your system & serves the HTTP server on `127.0.0.1:8080`. Visit `127.0.0.1:8080/image` for start. \ No newline at end of file +After container running, the app will scan `/app/images` which is mounted to the directory `~/Pictures` of your system & serves the HTTP server on `127.0.0.1:8080`. Visit `127.0.0.1:8080/image` for start.