-
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.
Merge pull request #18 from xenophonlabs/dev
Update app
- Loading branch information
Showing
63 changed files
with
427 additions
and
276 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 @@ | ||
results/** filter=lfs diff=lfs merge=lfs -text |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM python:3.11 | ||
|
||
WORKDIR /code | ||
|
||
# Set your GitHub repo URL here | ||
ARG GIT_REPO_URL=https://github.com/xenophonlabs/crvUSDrisk.git | ||
ARG GIT_BRANCH=dev # Adjust the branch name as necessary | ||
|
||
# Install system dependencies required for gmpy2 compilation | ||
RUN apt-get update && apt-get install -y \ | ||
libgmp-dev \ | ||
libmpfr-dev \ | ||
libmpc-dev \ | ||
git \ | ||
git-lfs \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN git lfs install | ||
RUN git clone --branch $GIT_BRANCH $GIT_REPO_URL . && git lfs pull | ||
|
||
COPY ./requirements.txt /code/requirements.txt | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | ||
|
||
ENV PYTHONPATH "${PYTHONPATH}:/code" | ||
|
||
CMD ["python", "./app/main.py"] |
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
Empty file.
File renamed without changes.
Oops, something went wrong.