Difference between revisions of "RUN"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
RUN [[pip install --no-cache-dir]] --upgrade pip && pip install --no-cache-dir -r [[requirements.txt]] | RUN [[pip install --no-cache-dir]] --upgrade pip && pip install --no-cache-dir -r [[requirements.txt]] | ||
+ | |||
+ | RUN pip install --trusted-host pypi.python.org -r [[requirements.txt]] | ||
+ | |||
== Related == | == Related == |
Revision as of 06:32, 24 January 2023
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt
RUN pip install --trusted-host pypi.python.org -r requirements.txt
Related
See also
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
,hadolint, LABEL, EXPOSE
docker build [ --tag | --platform | --help ] FROM, Dockerfile, .dockerignore, requirements.txt, docker build --help, docker tag
Advertising: