This repository has been archived by the owner on Mar 19, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b005ad
commit d35889c
Showing
8 changed files
with
23 additions
and
13 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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
FROM python:3.7-slim-stretch | ||
FROM python:3.8 | ||
LABEL maintainer="Robin Cole @robmarkcole" | ||
|
||
RUN apt-get update && apt-get install -y git python3-dev gcc \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
EXPOSE 8501 | ||
|
||
COPY requirements.txt . | ||
RUN pip install --upgrade pip | ||
RUN pip install -r requirements.txt | ||
|
||
RUN pip install --upgrade -r requirements.txt | ||
RUN mkdir -p /app | ||
COPY app /app | ||
WORKDIR /app | ||
|
||
COPY app app/ | ||
|
||
RUN python app/server.py | ||
|
||
EXPOSE 5000 | ||
|
||
CMD ["python", "app/server.py", "serve"] | ||
ENTRYPOINT [ "streamlit", "run"] | ||
CMD ["streamlit-ui.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
File renamed without changes.
File renamed without changes
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
File renamed without changes
File renamed without changes
File renamed without changes.