You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is to add the use of CMD python restapi.py && bash and EXPOSE 5000 in Dockerfile to encode this default behavior there instead of the makefile. Use of docker run -P will publish the container port 5000 (on which the api is listening) to a random host port, while continued use of docker run -p 127.0.0.1:5000:5000 is needed to publish specifically to port 127.0.0.1:5000 of the host. See https://docs.docker.com/engine/reference/builder/#expose.
The text was updated successfully, but these errors were encountered:
As described in #366, this issue also replaces the use of the makefile with docker-compose, which is good especially for Windows users to alleviate needing to install make or WSL and makes it easier to use native docker commands. The makefile is kept, however, and updated as needed to make make build and make run deprecated.
This issue is to add the use of
CMD python restapi.py && bash
andEXPOSE 5000
inDockerfile
to encode this default behavior there instead of themakefile
. Use ofdocker run -P
will publish the container port 5000 (on which the api is listening) to a random host port, while continued use ofdocker run -p 127.0.0.1:5000:5000
is needed to publish specifically to port 127.0.0.1:5000 of the host. See https://docs.docker.com/engine/reference/builder/#expose.The text was updated successfully, but these errors were encountered: