Skip to content

Commit

Permalink
Fix missing pipy packages for uvicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
graue70 committed Apr 27, 2021
1 parent 480c963 commit cb53291
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-images/python3.9-alpine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM python:3.9-alpine
LABEL maintainer="Sebastian Ramirez <[email protected]>"

RUN apk add --no-cache --virtual .build-deps gcc libc-dev make \
&& pip install --no-cache-dir uvicorn gunicorn \
&& pip install --no-cache-dir "uvicorn[standard]" gunicorn \
&& apk del .build-deps gcc libc-dev make

COPY ./start.sh /start.sh
Expand Down
2 changes: 1 addition & 1 deletion docker-images/python3.9-alpine3.12.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM python:3.9-alpine3.12
LABEL maintainer="Sebastian Ramirez <[email protected]>"

RUN apk add --no-cache --virtual .build-deps gcc libc-dev make \
&& pip install --no-cache-dir uvicorn gunicorn \
&& pip install --no-cache-dir "uvicorn[standard]" gunicorn \
&& apk del .build-deps gcc libc-dev make

COPY ./start.sh /start.sh
Expand Down
2 changes: 1 addition & 1 deletion docker-images/python3.9-slim.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.9-slim

LABEL maintainer="Sebastian Ramirez <[email protected]>"

RUN pip install --no-cache-dir uvicorn gunicorn
RUN pip install --no-cache-dir "uvicorn[standard]" gunicorn

COPY ./start.sh /start.sh
RUN chmod +x /start.sh
Expand Down
2 changes: 1 addition & 1 deletion docker-images/python3.9.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.9

LABEL maintainer="Sebastian Ramirez <[email protected]>"

RUN pip install --no-cache-dir uvicorn gunicorn
RUN pip install --no-cache-dir "uvicorn[standard]" gunicorn

COPY ./start.sh /start.sh
RUN chmod +x /start.sh
Expand Down

0 comments on commit cb53291

Please sign in to comment.