Difference between revisions of "RUN"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 4 users not shown)
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]]
 +
 +
RUN [[apk add]] --no-cache bash
 +
 +
RUN [[apt-get]]
 +
 +
RUN [[apt update]]
 +
 +
[[RUN wget]]
 +
 +
RUN [[apt update]] && apt install -y nginx
 +
 +
 +
== Related ==
 +
* <code>[[CMD]]</code>
 +
* <code>[[ENTRYPOINT]]</code>
 +
* [[command (Containers)]]
 +
* [[USER]]
  
 
== See also ==
 
== See also ==
 +
* {{RUN}}
 
* {{Dockerfile}}
 
* {{Dockerfile}}
 
* {{docker build}}
 
* {{docker build}}
  
 
[[Category:Docker]]
 
[[Category:Docker]]

Latest revision as of 17:55, 27 October 2024

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
RUN apk add --no-cache bash
RUN apt-get
RUN apt update
RUN wget
RUN apt update && apt install -y nginx


Related[edit]

See also[edit]

Advertising: