FirecrawlMCPserver / Dockerfile
Rehan12345678's picture
Update Dockerfile
04403d7 verified
Raw History Blame Contribute Delete
464 Bytes
# Use an official Python runtime as a parent image
FROM python:3.9
# Set the working directory
WORKDIR /code
# Copy and install dependencies
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# Copy all your project files
COPY ./ /code/
# Use Uvicorn to run the FastAPI app on the correct port for Hugging Face Spaces
CMD ["uvicorn", "src.streamlit_app:app", "--host", "0.0.0.0", "--port", "7860"]