Con-RAG-agent / Dockerfile
Sathwik3's picture
Expose to 7860
3919086 verified
raw
history blame contribute delete
524 Bytes
# Start with an official Python base image
FROM python:3.10-slim
# Set the working directory inside the container
WORKDIR /app
# Copy your project's requirements file
COPY requirements.txt .
# Install the Python libraries
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of your application's code
COPY . .
# Expose the port your app will run on (e.g., if it's an API)
EXPOSE 7860
# Define the command to run your application
# This assumes your main script is named "app.py"
CMD ["python", "app.py"]