docker file run code example
Example 1: run docker
docker run -d -p 80:80 docker/getting-started
Example 2: docker expose port
docker run -p [external]:[Internal]
#example (will open in localhost:8080 to container port 80)
docker run -p 8080:80
Example 3: docker ARG
$ docker build --build-arg some_variable_name=a_value
Example 4: dockerfile example
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py