Skip to content

Commit a292b4a

Browse files
committed
update docker command to allow it to be interactive
1 parent 2e324c8 commit a292b4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ This API has been set up to run in a docker container.
3434
The simplest way to run it is to:
3535
1. aquire the container either from a docker repository or by running `docker build . -t classclock-api` in a cloned version of this repo
3636
2. set up the environment variables you want per the above table
37-
3. use a command like `docker run -p 8000:8000 --rm --env-file dev.env classclock-api:latest` to run the container interactively using `dev.env` as the source of the environment variables. The app will start up on port 8000.
37+
3. use a command like `docker run -p 8000:8000 --rm -it --env-file dev.env classclock-api:latest` to run the container interactively using `dev.env` as the source of the environment variables. The app will start up on port 8000.

0 commit comments

Comments
 (0)