Create Dockerfile
Browse files- Dockerfile +9 -0
Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM ubuntu
|
2 |
+
RUN apt-get update -y && \
|
3 |
+
apt-get install -y python3 python3-pip git
|
4 |
+
WORKDIR /app
|
5 |
+
COPY . /app
|
6 |
+
RUN pip install --upgrade pip
|
7 |
+
RUN pip install -r requirements.txt
|
8 |
+
EXPOSE 4000
|
9 |
+
CMD ["sh", "-c", "python3 -m spacy download en && python3 ./app.py"]
|