LordFarquaad42 commited on
Commit
1f09140
1 Parent(s): ad86ce1

tested dockerfile and req.txt

Browse files
Files changed (2) hide show
  1. Dockerfile +5 -3
  2. requirements.txt +1 -1
Dockerfile CHANGED
@@ -1,12 +1,14 @@
1
  FROM python:3.12-slim
 
2
 
3
  WORKDIR /app
 
 
 
4
 
5
  COPY requirements.txt ./
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY . .
9
 
10
- EXPOSE 80 443 22
11
-
12
- CMD ["python", "main.py"]
 
1
  FROM python:3.12-slim
2
+ EXPOSE 80 443 8501
3
 
4
  WORKDIR /app
5
+ RUN apt-get update && \
6
+ apt-get install -y build-essential gcc python3-dev pkg-config libhdf5-dev && \
7
+ rm -rf /var/lib/apt/lists/*
8
 
9
  COPY requirements.txt ./
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
  COPY . .
13
 
14
+ CMD ["streamlit", "run", "app.py"]
 
 
requirements.txt CHANGED
@@ -138,7 +138,7 @@ tenacity==8.2.3
138
  tensorboard==2.16.2
139
  tensorboard-data-server==0.7.2
140
  tensorflow==2.16.1
141
- tensorflow-io-gcs-filesystem==0.36.0
142
  termcolor==2.4.0
143
  threadpoolctl==3.3.0
144
  tokenizers==0.15.2
 
138
  tensorboard==2.16.2
139
  tensorboard-data-server==0.7.2
140
  tensorflow==2.16.1
141
+ tensorflow-io-gcs-filesystem==0.37.1
142
  termcolor==2.4.0
143
  threadpoolctl==3.3.0
144
  tokenizers==0.15.2