docker-entrypoint

How do I pass a local file as an argument with docker run?

How do I pass a local file as an argument with docker run? Question: I have a Dockerfile like this: FROM python:3.6 RUN mkdir /code COPY dist/python-0.1.0.tar.gz /code WORKDIR /code RUN pip install python-0.1.0.tar.gz ENTRYPOINT [“post”] The “post” command runs my code fine with no arguments. My question is how can I get the docker …

Total answers: 1