copia il file dal contenitore docker all'host
docker cp <containerId>:/file/path/within/container /host/path/target
copia il file dall'host al contenitore docker
docker cp foo.txt mycontainer:/foo.txt
esempio di dockerfile
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py
finestra mobile ARG
$ docker build --build-arg some_variable_name=a_value
dockerfile copia file specifici
COPY ["__BUILD_NUMBER", "README.md", "gulpfile", "another_file", "./"]
All the files and folders, the last is destination
file dockerfile esegui app cmd
RUN apt-get install python3
CMD echo "Hello world"
ENTRYPOINT echo "Hello world"