StockDocs/MCPServer/dockerfile
2025-07-05 05:35:29 +00:00

21 lines
411 B
Plaintext

# Use an official Python runtime as a base image
FROM python:3.12.3-slim
# Set the working directory in the container
WORKDIR /app
# Install Dependencies
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
# Copy the current directory contents into the container at /app
COPY . /app
# Expose the port the app runs on
EXPOSE 5005
# Run the Flask app
CMD ["python", "server.py"]