davoodwadi commited on
Commit
ce91adb
·
1 Parent(s): 6ee3c4a
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. pyproject.toml +1 -0
Dockerfile CHANGED
@@ -19,7 +19,6 @@ RUN apt-get update && apt-get install -y \
19
  # Copy the project into the image
20
  ADD . /app
21
 
22
-
23
  # Sync the project into a new environment, asserting the lockfile is up to date
24
  RUN uv sync --locked
25
 
@@ -30,7 +29,8 @@ EXPOSE 8501
30
 
31
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
32
 
33
- ENTRYPOINT ["python", "main.py"]
 
34
 
35
  # COPY src/ ./src/
36
  # COPY labelled_data/ ./labelled_data/
 
19
  # Copy the project into the image
20
  ADD . /app
21
 
 
22
  # Sync the project into a new environment, asserting the lockfile is up to date
23
  RUN uv sync --locked
24
 
 
29
 
30
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
31
 
32
+ ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
33
+ # ENTRYPOINT ["python", "main.py"]
34
 
35
  # COPY src/ ./src/
36
  # COPY labelled_data/ ./labelled_data/
pyproject.toml CHANGED
@@ -16,3 +16,4 @@ dependencies = [
16
  "streamlit[charts]>=1.50.0",
17
  "tqdm>=4.67.1",
18
  ]
 
 
16
  "streamlit[charts]>=1.50.0",
17
  "tqdm>=4.67.1",
18
  ]
19
+