-
-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⬆️ Install uvicorn[standard] to include uvloop and Gunicorn support (#54
- Loading branch information
Showing
7 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ FROM python:3.6-alpine3.8 | |
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ FROM python:3.6 | |
|
||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ FROM python:3.7-alpine3.8 | |
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ FROM python:3.7 | |
|
||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ FROM python:3.8-alpine3.10 | |
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ FROM python:3.8-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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ FROM python:3.8 | |
|
||
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 | ||
|