Skip to content

Commit

Permalink
feat: better pip install usage for containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Gomes committed May 18, 2023
1 parent 3b771fc commit cc09d99
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ADD src /src

RUN apk update &&\
apk add --no-cache nodejs npm &&\
pip3 install --upgrade netius
pip3 install --no-cache-dir --upgrade netius

RUN npm install && npm run build

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.demo
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ ADD src /src

RUN apk update &&\
apk add --no-cache nodejs npm &&\
pip3 install -r /requirements.txt &&\
pip3 install -r /extra.txt &&\
pip3 install --upgrade netius
pip3 install --no-cache-dir -r /requirements.txt &&\
pip3 install --no-cache-dir -r /extra.txt &&\
pip3 install --no-cache-dir --upgrade netius

RUN npm install && npm run build

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.docs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ADD src /src

RUN apk update &&\
apk add --no-cache nodejs npm &&\
pip3 install --upgrade netius
pip3 install --no-cache-dir --upgrade netius

RUN npm install && npm run docs

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.docs_csr
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ADD documentation /

RUN apk update &&\
apk add --no-cache nodejs npm &&\
pip3 install --upgrade netius
pip3 install --no-cache-dir --upgrade netius

RUN npm install && npm run build

Expand Down

0 comments on commit cc09d99

Please sign in to comment.