rembg-docker / Dockerfile
nobl3Y's picture
Create Dockerfile
6370415 verified
raw
history blame contribute delete
304 Bytes
# Base image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy dependency list
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy all project files
COPY . .
# Expose Flask port
EXPOSE 7860
# Run the app
CMD ["python", "app.py"]