Skip to content

Commit 386d503

Browse files
committed
docs: update pip install command
remove `--no-cache-dir` as it is not necessary this option is disabled by default
1 parent 4b035e2 commit 386d503

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[{*.md,*.yaml,*.yml}]
12+
indent_style = space
13+
indent_size = 2
14+
x-soft-wrap-text = true

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ FROM coatldev/python:3
2525
WORKDIR /usr/src/app
2626

2727
COPY requirements.txt ./
28-
RUN pip install --no-cache-dir -r requirements.txt
28+
RUN python -m pip install -r requirements.txt
2929

3030
COPY . .
3131

@@ -40,7 +40,7 @@ FROM coatldev/python:2
4040
WORKDIR /usr/src/app
4141

4242
COPY requirements.txt ./
43-
RUN pip install --no-cache-dir -r requirements.txt
43+
RUN python -m pip install -r requirements.txt
4444

4545
COPY . .
4646

0 commit comments

Comments
 (0)