-
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.
Merge pull request #41 from hpicgs/deployment-changes
Finish Repository Deployment
- Loading branch information
Showing
6 changed files
with
66 additions
and
25 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,5 @@ | ||
[theme] | ||
base="light" | ||
primaryColor="#B1063A" | ||
backgroundColor="#F1F1F1" | ||
secondaryBackgroundColor="#D4DADE" |
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,22 @@ | ||
# Builder image | ||
FROM continuumio/miniconda3 as builder | ||
|
||
RUN apt-get update -y && apt-get install default-jre make wget curl unzip build-essential -y | ||
COPY . /app/unCover | ||
|
||
WORKDIR /app/unCover | ||
RUN conda update conda --yes | ||
RUN conda env create -f environment.yml | ||
RUN cp -n .env.example .env | ||
RUN make -C tem/topic-evolution-model/ | ||
RUN conda run -n unCover ./corenlp --no-run && conda run -n unCover ./prepare_models | ||
|
||
# Final image | ||
FROM continuumio/miniconda3 | ||
LABEL authors="lucasliebe" | ||
|
||
COPY --from=builder /app /app | ||
COPY --from=builder /opt/conda /opt/conda | ||
|
||
WORKDIR /app/unCover | ||
CMD conda run -n unCover streamlit run 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
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