Spaces:
Sleeping
Sleeping
Teslim Olunlade
commited on
Commit
Β·
81f1ca0
1
Parent(s):
4e93df8
Flattened project structure
Browse files
app/.dockerignore β .dockerignore
RENAMED
|
@@ -25,3 +25,5 @@
|
|
| 25 |
**/values.dev.yaml
|
| 26 |
LICENSE
|
| 27 |
README.md
|
|
|
|
|
|
|
|
|
| 25 |
**/values.dev.yaml
|
| 26 |
LICENSE
|
| 27 |
README.md
|
| 28 |
+
|
| 29 |
+
img/
|
app/.gitignore β .gitignore
RENAMED
|
File without changes
|
app/Dockerfile β Dockerfile
RENAMED
|
@@ -8,13 +8,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|
| 8 |
# Turns off buffering for easier container logging
|
| 9 |
ENV PYTHONUNBUFFERED=1
|
| 10 |
|
| 11 |
-
RUN apt-get update && apt-get install -y \
|
| 12 |
-
build-essential \
|
| 13 |
-
curl \
|
| 14 |
-
software-properties-common \
|
| 15 |
-
git \
|
| 16 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 17 |
-
|
| 18 |
# Install pip requirements
|
| 19 |
COPY requirements.txt .
|
| 20 |
RUN python -m pip install -r requirements.txt
|
|
@@ -31,4 +24,4 @@ EXPOSE 8501
|
|
| 31 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 32 |
|
| 33 |
# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
|
| 34 |
-
ENTRYPOINT ["streamlit", "run", "main.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
|
| 8 |
# Turns off buffering for easier container logging
|
| 9 |
ENV PYTHONUNBUFFERED=1
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
# Install pip requirements
|
| 12 |
COPY requirements.txt .
|
| 13 |
RUN python -m pip install -r requirements.txt
|
|
|
|
| 24 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 25 |
|
| 26 |
# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
|
| 27 |
+
ENTRYPOINT ["streamlit", "run", "app/main.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
app/requirements.txt β requirements.txt
RENAMED
|
File without changes
|