style-analysis / Dockerfile
SudaisKhan211's picture
fix the code
bb3a5d8
raw
history blame contribute delete
400 Bytes
FROM python:3.10-slim
WORKDIR /app
# Copy and install requirements
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
# Create output directory
RUN mkdir -p outputs/style_analysis
# Expose port
EXPOSE 7860
# Run the app
CMD ["uvicorn", "api_server:app", "--host", "0.0.0.0", "--port", "7860"]