-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update the docker base image to 3.11; include all sub packges in the …
…wheel;
- Loading branch information
1 parent
cc1bab6
commit d3dfeb5
Showing
2 changed files
with
12 additions
and
5 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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM python:3.9 | ||
FROM python:3.11 | ||
|
||
# copy the prebuild wheels to the container | ||
COPY ./dist /wheels | ||
|
||
# update pip | ||
RUN python -m pip install --upgrade pip | ||
RUN python -m pip install --no-cache-dir --upgrade pip | ||
|
||
# install the wheels | ||
RUN pip install --find-links=/wheels koi_api | ||
RUN pip install waitress | ||
RUN pip install --no-cache-dir --find-links=/wheels koi_api | ||
RUN pip install --no-cache-dir waitress | ||
|
||
ENTRYPOINT [ "waitress-serve", "--port=8080", "--max-request-body-size=8589934592", "--call", "koi_api:create_app" ] |
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