sql_data_analyst / Dockerfile
YashashMathur's picture
Fix: Updated Dockerfile to use app.py entry point
f56b653 verified
raw
history blame contribute delete
310 Bytes
FROM python:3.11-slim
WORKDIR /app
# Copy requirements first for better caching
COPY requirements.txt .
# Install dependencies using pip
RUN pip install --no-cache-dir -r requirements.txt
# Copy all files
COPY . .
# Make sure app.py is executable
RUN chmod +x app.py
EXPOSE 7860
CMD ["python", "app.py"]