Skip to content

Commit

Permalink
Update README for docker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulooh007 committed Oct 1, 2023
1 parent cbc82ed commit dd4e527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ docker run -it laser
**Note:** If you want to expose a local port to the REST server on top of the embed task, you can do so by executing the following command instead of the last command:

```
docker run -it -p [CHANGEME_LOCAL_PORT]:80 laser
docker run -it -p [CHANGEME_LOCAL_PORT]:80 laser python app.py
```
This will override the command line entrypoint of the Docker container.

Example:

```
docker run -it -p 8081:80 laser
docker run -it -p 8081:80 laser python app.py
```

This Flask server will serve a REST Api that can be use by calling your server with this URL :
Expand Down

0 comments on commit dd4e527

Please sign in to comment.