vazish commited on
Commit
de12cd1
·
unverified ·
1 Parent(s): 7b10861

dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -5,16 +5,15 @@ WORKDIR /app
5
  RUN apt-get update && apt-get install -y \
6
  build-essential \
7
  curl \
8
- git \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  COPY requirements.txt ./
12
- COPY src/ ./src/
13
-
14
  RUN pip3 install -r requirements.txt
15
 
 
 
16
  EXPOSE 8501
17
 
18
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
19
 
20
- ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
5
  RUN apt-get update && apt-get install -y \
6
  build-essential \
7
  curl \
 
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
  COPY requirements.txt ./
 
 
11
  RUN pip3 install -r requirements.txt
12
 
13
+ COPY app.py benchmark.py results.csv dataset.csv ./
14
+
15
  EXPOSE 8501
16
 
17
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
18
 
19
+ ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]