Ayo42 commited on
Commit
1eac2c3
·
verified ·
1 Parent(s): fe3cd39

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -2,6 +2,10 @@ FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
 
 
 
 
5
  RUN apt-get update && apt-get install -y \
6
  build-essential \
7
  curl \
@@ -10,10 +14,8 @@ RUN apt-get update && apt-get install -y \
10
  python -m spacy download en_core_web_md\
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
- COPY requirements.txt ./
14
  COPY src/ ./src/
15
 
16
- RUN pip install -r requirements.txt
17
 
18
  EXPOSE 8501
19
 
 
2
 
3
  WORKDIR /app
4
 
5
+ COPY requirements.txt ./
6
+
7
+ RUN pip install -r requirements.txt
8
+
9
  RUN apt-get update && apt-get install -y \
10
  build-essential \
11
  curl \
 
14
  python -m spacy download en_core_web_md\
15
  && rm -rf /var/lib/apt/lists/*
16
 
 
17
  COPY src/ ./src/
18
 
 
19
 
20
  EXPOSE 8501
21