LGBM_TEST / Dockerfile
subbunanepalli's picture
Update Dockerfile
e64330b verified
raw
history blame contribute delete
337 Bytes
FROM python:3.10-slim
# Install OpenMP for LightGBM
RUN apt-get update && apt-get install -y libgomp1
# Set workdir
WORKDIR /app
# Copy files
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port
EXPOSE 7860
# Run the app
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]