diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6718d58 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# Use an official Python runtime as a parent image +FROM python:3.12-slim + +# Set the working directory in the container +WORKDIR /app + +# Copy the current directory contents into the container at /usr/src/app +COPY . . + +# Install any needed packages specified in requirements.txt +RUN pip install --no-cache-dir -r requirements.txt + +# Expose Streamlit's default port +EXPOSE 8501 + +# Command to run the app +CMD ["streamlit", "run", "main.py", "--server.port=8501", "--server.address=0.0.0.0"] \ No newline at end of file