github_chatgpt_app / Dockerfile
viraja1's picture
Update Dockerfile
bea66ae verified
Raw
History Blame Contribute Delete
257 Bytes
FROM python:3.11.6
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
# HuggingFace Spaces uses the environment variable $PORT
ENV PORT=8000
# Expose the HuggingFace port
EXPOSE $PORT
# Run your MCP server
CMD ["python", "app.py"]