docker build -t <path to ft_server dir> .
docker run -it -p 80:80 -p 443:443 ft_server
For interactive processes (like a shell), you must use -i -t together in order to allocate a tty for the container process.
-i
-t
is often written -it
.
docker build -t <path to ft_server dir> .
docker run -it -p 80:80 -p 443:443 ft_server
For interactive processes (like a shell), you must use -i -t together in order to allocate a tty for the container process.
-i
-t
is often written -it
.