Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -6,10 +6,13 @@ WORKDIR /app
|
|
| 6 |
|
| 7 |
# Copy the current directory contents into the container at /app
|
| 8 |
COPY app.py /app/app.py
|
|
|
|
|
|
|
| 9 |
COPY requirements.txt /app/requirements.txt
|
| 10 |
|
| 11 |
# Install any needed packages specified in requirements.txt
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 13 |
|
| 14 |
# Expose port 8501 for Streamlit
|
| 15 |
EXPOSE 8501
|
|
|
|
| 6 |
|
| 7 |
# Copy the current directory contents into the container at /app
|
| 8 |
COPY app.py /app/app.py
|
| 9 |
+
COPY webchat.py /app/webchat.py
|
| 10 |
+
COPY .streamlit/config.toml /app/.streamlit/config.toml
|
| 11 |
COPY requirements.txt /app/requirements.txt
|
| 12 |
|
| 13 |
# Install any needed packages specified in requirements.txt
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
+
RUN python -m spacy download en_core_web_md
|
| 16 |
|
| 17 |
# Expose port 8501 for Streamlit
|
| 18 |
EXPOSE 8501
|