-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from Renumics/chore/deployment
Chore/deployment
- Loading branch information
Showing
3 changed files
with
74 additions
and
2 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,21 @@ | ||
.envrc | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.prettierrc.yaml | ||
LICENSE | ||
Makefile | ||
assets/ | ||
notebooks/ | ||
|
||
.env | ||
data/ | ||
dev/ | ||
dist/ | ||
|
||
.vscode/ | ||
.idea/ | ||
|
||
.DS_Store | ||
__pycache__/ | ||
.mypy_cache/ | ||
.ruff_cache/ |
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,20 @@ | ||
FROM python:3.11 | ||
|
||
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0 \ | ||
STREAMLIT_SERVER_PORT=8000 | ||
|
||
WORKDIR /app | ||
|
||
RUN pip install -IU pip setuptools wheel && pip install poetry==1.8.3 | ||
|
||
COPY pyproject.toml poetry.lock README.md ./ | ||
COPY ./assistant/__init__.py ./assistant/ | ||
|
||
RUN poetry install --extras=openai --sync --without=dev | ||
|
||
COPY ./assistant/ ./assistant/ | ||
COPY settings.yaml ./ | ||
|
||
COPY ./db-docs/ ./db-docs/ | ||
|
||
CMD ["poetry", "run", "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