ChintanSatva commited on
Commit
bd5e921
·
verified ·
1 Parent(s): c5541a4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -2,8 +2,10 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies (minimal)
6
  RUN apt-get update && apt-get install -y \
 
 
7
  && rm -rf /var/lib/apt/lists/*
8
 
9
  # Copy requirements file
@@ -24,7 +26,6 @@ COPY app.py .
24
  # Set environment variables
25
  ENV HF_HOME=/app/cache
26
  ENV NUMBA_CACHE_DIR=/app/cache
27
- ENV TRANSFORMERS_CACHE=/app/cache
28
 
29
  # Expose port
30
  EXPOSE 7860
 
2
 
3
  WORKDIR /app
4
 
5
+ # Install system dependencies
6
  RUN apt-get update && apt-get install -y \
7
+ gcc \
8
+ g++ \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  # Copy requirements file
 
26
  # Set environment variables
27
  ENV HF_HOME=/app/cache
28
  ENV NUMBA_CACHE_DIR=/app/cache
 
29
 
30
  # Expose port
31
  EXPOSE 7860