vissionGuardAi / dockerfile
abidjoyia's picture
Update dockerfile
dafc275 verified
# Use a lightweight Python image
FROM python:3.9
# Set the working directory
WORKDIR /app
# Copy your files into the container
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Start the Flask app using Gunicorn (better for production)
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]