Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -9
Dockerfile
CHANGED
@@ -1,11 +1,3 @@
|
|
1 |
-
title: SAMH
|
2 |
-
emoji: 📚
|
3 |
-
colorFrom: indigo
|
4 |
-
colorTo: blue
|
5 |
-
sdk: docker
|
6 |
-
pinned: false
|
7 |
-
license: apache-2.0
|
8 |
-
|
9 |
# Use an official Python runtime as a parent image
|
10 |
FROM python:3.10-slim
|
11 |
|
@@ -25,7 +17,7 @@ COPY . /app
|
|
25 |
RUN python -c "import nltk; nltk.download('stopwords'); nltk.download('wordnet')"
|
26 |
|
27 |
# Make port 8000 available to the world outside this container
|
28 |
-
EXPOSE
|
29 |
|
30 |
# Run the entrypoint script
|
31 |
CMD ["sh", "./entrypoint.sh"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
FROM python:3.10-slim
|
3 |
|
|
|
17 |
RUN python -c "import nltk; nltk.download('stopwords'); nltk.download('wordnet')"
|
18 |
|
19 |
# Make port 8000 available to the world outside this container
|
20 |
+
EXPOSE 7860
|
21 |
|
22 |
# Run the entrypoint script
|
23 |
CMD ["sh", "./entrypoint.sh"]
|