-
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.
- Loading branch information
Showing
4 changed files
with
38 additions
and
105 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM python:3.9 | ||
|
||
# RUN apt-get update && apt-get install wget gcc -y | ||
|
||
# install requirements | ||
COPY requirements.txt requirements.txt | ||
RUN pip3 install -r requirements.txt --no-cache-dir option | ||
|
||
|
||
# copy all files | ||
COPY /sdk /sdk | ||
COPY Controller.py Controller.py | ||
COPY main.py main.py | ||
COPY api.py api.py | ||
|
||
|
||
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "8000"] |
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
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