Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -10
Dockerfile
CHANGED
|
@@ -7,17 +7,11 @@ WORKDIR /app
|
|
| 7 |
# Copy all files into the container
|
| 8 |
COPY . /app
|
| 9 |
|
| 10 |
-
# Install
|
| 11 |
-
RUN pip install --no-cache-dir
|
| 12 |
-
streamlit \
|
| 13 |
-
langchain \
|
| 14 |
-
langgraph \
|
| 15 |
-
tavily-python \
|
| 16 |
-
langchain-openai \
|
| 17 |
-
&& pip install --upgrade pip
|
| 18 |
|
| 19 |
# Expose the port Streamlit runs on
|
| 20 |
-
EXPOSE
|
| 21 |
|
| 22 |
# Command to run the app
|
| 23 |
-
CMD streamlit run app.py --server.port
|
|
|
|
| 7 |
# Copy all files into the container
|
| 8 |
COPY . /app
|
| 9 |
|
| 10 |
+
# Install dependencies
|
| 11 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
# Expose the port Streamlit runs on
|
| 14 |
+
EXPOSE 7531
|
| 15 |
|
| 16 |
# Command to run the app
|
| 17 |
+
CMD streamlit run app.py --server.port 7531 --server.address 0.0.0.0
|