Swift-Query / Dockerfile
Darshan Kumar R
Upgrade to Python 3.10 for cyborgdb-core
c025cb7
Raw History Blame Contribute Delete
492 Bytes
FROM python:3.10
WORKDIR /app
# Install system dependencies if needed (e.g., for some python packages)
RUN apt-get update && apt-get install -y \
build-essential \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Expose the port that the application listens on
EXPOSE 7860
# Command to run the application
# Assuming main.py has the Flask app instance 'app'
CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app"]