DrPie commited on
Commit
af30da3
·
verified ·
1 Parent(s): 6e417c0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -7
Dockerfile CHANGED
@@ -4,12 +4,7 @@ WORKDIR /app
4
  COPY requirements.txt .
5
  RUN pip install --no-cache-dir -r requirements.txt
6
 
7
- # Nếu cần cài hệ thống
8
- COPY packages.txt .
9
- RUN apt-get update && xargs -a packages.txt apt-get install -y
10
-
11
  COPY . .
12
 
13
- EXPOSE $PORT
14
-
15
- CMD ["python", "app.py"]
 
4
  COPY requirements.txt .
5
  RUN pip install --no-cache-dir -r requirements.txt
6
 
 
 
 
 
7
  COPY . .
8
 
9
+ # Hugging Face sẽ tự cấp PORT, không hardcode
10
+ CMD ["python", "app.py"]