Skip to content

Commit

Permalink
⚡ Disable pip cache during installation (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo authored Apr 26, 2020
1 parent 063fd07 commit c5ba879
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python3.6-alpine3.8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM tiangolo/uvicorn-gunicorn:python3.6-alpine3.8

LABEL maintainer="Sebastian Ramirez <tiangolo@gmail.com>"

RUN pip install starlette
RUN pip --no-cache-dir install starlette

COPY ./app /app
2 changes: 1 addition & 1 deletion python3.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM tiangolo/uvicorn-gunicorn:python3.6

LABEL maintainer="Sebastian Ramirez <tiangolo@gmail.com>"

RUN pip install starlette
RUN pip --no-cache-dir install starlette

COPY ./app /app
2 changes: 1 addition & 1 deletion python3.7-alpine3.8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM tiangolo/uvicorn-gunicorn:python3.7-alpine3.8

LABEL maintainer="Sebastian Ramirez <tiangolo@gmail.com>"

RUN pip install starlette
RUN pip --no-cache-dir install starlette

COPY ./app /app
2 changes: 1 addition & 1 deletion python3.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM tiangolo/uvicorn-gunicorn:python3.7

LABEL maintainer="Sebastian Ramirez <tiangolo@gmail.com>"

RUN pip install starlette
RUN pip --no-cache-dir install starlette

COPY ./app /app

0 comments on commit c5ba879

Please sign in to comment.