I want to create and run a Docker container for my Angular 4 application.
I ve created the image :
docker build -t front:Angular4 -f src/main/docker/Dockerfile .
and i tried to create anbd run the container instance of my image using :
docker run --name frontcontainer -it front:Angular4 -p 4200:4300 -v /usr/share/nginx/logs:/usr/share/nginx/logs -P
this seems creating the container but not running it . And it throws this error:
Error response from daemon: Cannot start container 40613e12e254a433e2b5f774ffcab67be9c3027cef761141f63ec8fb03bfc108: [8] System error: exec: "-p": executable file not found in $PATH
Suggestions ?