Commit
·
259bb98
1
Parent(s):
db5542d
dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use the official Python image as a base
|
2 |
-
FROM python:3.
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
@@ -14,4 +14,4 @@ RUN pip install -r requirements.txt
|
|
14 |
EXPOSE 8501
|
15 |
|
16 |
# Run the Streamlit app
|
17 |
-
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
1 |
# Use the official Python image as a base
|
2 |
+
FROM python:3.10-slim-buster
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
|
|
14 |
EXPOSE 8501
|
15 |
|
16 |
# Run the Streamlit app
|
17 |
+
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|