-
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 workflow files for unit tests
- Loading branch information
Mark Chen
authored and
Mark Chen
committed
Jan 25, 2024
1 parent
e168868
commit c642060
Showing
3 changed files
with
25 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
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,9 +1,13 @@ | ||
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9 | ||
|
||
# Set default values for environment variables | ||
ENV OPENAI_ORG_ID=default_org_id | ||
ENV OPENAI_API_KEY=default_api_key | ||
|
||
COPY ./requirements.txt /code/requirements.txt | ||
|
||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | ||
|
||
COPY ./src /app | ||
|
||
CMD ["uvicorn", "index.main:app", "--host", "0.0.0.0", "--port", "80"] | ||
CMD ["uvicorn", "index.main:app", "--host", "0.0.0.0", "--port", "80"] |
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