natalieparker commited on
Commit
09dfa66
·
verified ·
1 Parent(s): f71683a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -9
Dockerfile CHANGED
@@ -2,20 +2,12 @@ FROM python:3.10
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies
6
- RUN apt-get update && apt-get install -y \
7
- git \
8
- && rm -rf /var/lib/apt/lists/*
9
-
10
- # Install Python dependencies
11
  COPY requirements.txt .
 
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
14
- # Copy app files
15
  COPY . .
16
 
17
- # Expose port 7860 for HF Spaces
18
  EXPOSE 7860
19
 
20
- # Run FastAPI server
21
  CMD ["python", "app.py"]
 
2
 
3
  WORKDIR /app
4
 
 
 
 
 
 
 
5
  COPY requirements.txt .
6
+
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
 
9
  COPY . .
10
 
 
11
  EXPOSE 7860
12
 
 
13
  CMD ["python", "app.py"]