vishwjeet71 commited on
Commit
beadc21
·
1 Parent(s): 540b123

Fix Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -1,4 +1,3 @@
1
- cat > ~/FactCheckAI/Dockerfile << 'EOF'
2
  FROM python:3.10-slim
3
 
4
  WORKDIR /app
@@ -8,11 +7,10 @@ RUN apt-get update && apt-get install -y build-essential && rm -rf /var/lib/apt/
8
  COPY requirements.txt .
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
11
- RUN python -m spacy download en_core_web_trf
12
 
13
  COPY . .
14
 
15
  EXPOSE 7860
16
 
17
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
18
- EOF
 
 
1
  FROM python:3.10-slim
2
 
3
  WORKDIR /app
 
7
  COPY requirements.txt .
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
10
+ RUN python -m spacy download en_core_web_sm
11
 
12
  COPY . .
13
 
14
  EXPOSE 7860
15
 
16
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]