-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use pdm for llm-service deps * update github workflow * use setup-pdm * use quotes
- Loading branch information
1 parent
ec04760
commit b0b009e
Showing
9 changed files
with
2,185 additions
and
31 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,5 +1,6 @@ | ||
.env | ||
.idea/* | ||
.vscode/* | ||
!.idea/copyright/ | ||
!.idea/prettier.xml | ||
!.idea/google-java-format.xml | ||
|
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,11 @@ | ||
FROM docker-private.infra.cloudera.com/cloudera_base/hardened/cloudera-python:3.10 | ||
COPY ./app/requirements.txt /app/ | ||
RUN pip install pdm | ||
COPY ./pyproject.toml /app/ | ||
COPY ./pdm.lock /app/ | ||
WORKDIR /app | ||
RUN pip install -r requirements.txt | ||
RUN pdm install | ||
|
||
COPY ./app /app | ||
WORKDIR /app | ||
|
||
CMD [ "fastapi", "run", "--host", "0.0.0.0" ] | ||
CMD [ "pdm", "run", "fastapi", "run", "--host", "0.0.0.0" ] |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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