What line is missing from this Dockerfile that allows us to install Python modules?FROM python:3ENV PYTHONUNBUFFERED 1RUN mkdir /codeWORKDIR /codeCOPY requirements.txt /code/***COPY . /code/PYTHON RUN pip install -r requirements.txtDOCKER-RUN pip install -r requirements.txtINSTALL pip install -r requirements.txtRUN pip install -r requirements.txt
The FROM keyword in a Dockerfile can appear:
It can appear multiple times in a single DockerfileThere can be no FROM keyword in a DockerfileIt can appear only once at the topCan be defined only at the bottom of a Dockerfile
Comments
Post a Comment