Spaces:
Sleeping
Sleeping
Akshay Ukey commited on
Commit ·
29a439d
1
Parent(s): 5103424
Fix Dockerfile port and structure
Browse files
Downloads/Duphuggingface/Dockerfile
CHANGED
|
@@ -2,12 +2,15 @@ FROM python:3.10
|
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
-
COPY
|
| 6 |
|
| 7 |
-
RUN pip install --no-cache-dir -
|
| 8 |
|
| 9 |
RUN python -m nltk.downloader vader_lexicon
|
| 10 |
|
| 11 |
-
COPY .
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
+
COPY requirements.txt .
|
| 6 |
|
| 7 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
|
| 9 |
RUN python -m nltk.downloader vader_lexicon
|
| 10 |
|
| 11 |
+
COPY app.py .
|
| 12 |
+
COPY future_article_fixer.py .
|
| 13 |
+
|
| 14 |
+
EXPOSE 7860
|
| 15 |
|
| 16 |
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|