Spaces:
Sleeping
Sleeping
Upload Dockerfile
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
COPY . /app
|
| 6 |
+
|
| 7 |
+
RUN apt-get update && apt-get install -y curl
|
| 8 |
+
RUN pip install -r requirements.txt
|
| 9 |
+
|
| 10 |
+
RUN python -m spacy download en_core_web_sm
|
| 11 |
+
|
| 12 |
+
CMD ["python", "app.py"]
|