truegleai commited on
Commit
e1bf5f5
·
verified ·
1 Parent(s): 561e31f

Deploy FastAPI server with CodeLlama 7B

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -12,12 +12,12 @@ RUN apt-get update && apt-get install -y \
12
  && rm -rf /var/lib/apt/lists/*
13
 
14
  # Copy requirements and install Python dependencies
15
- COPY api_requirements.txt requirements.txt
16
  RUN pip install --no-cache-dir --upgrade pip && \
17
  pip install --no-cache-dir -r requirements.txt
18
 
19
  # Copy application code
20
- COPY api_app.py app.py
21
 
22
  # Expose port (HF Spaces uses 7860)
23
  EXPOSE 7860
 
12
  && rm -rf /var/lib/apt/lists/*
13
 
14
  # Copy requirements and install Python dependencies
15
+ COPY requirements.txt .
16
  RUN pip install --no-cache-dir --upgrade pip && \
17
  pip install --no-cache-dir -r requirements.txt
18
 
19
  # Copy application code
20
+ COPY app.py .
21
 
22
  # Expose port (HF Spaces uses 7860)
23
  EXPOSE 7860