PestPedia / Dockerfile
sikeaditya's picture
Upload 20 files
412d9ff verified
raw
history blame contribute delete
320 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Create directory structure
RUN mkdir -p static/images
# Expose the port the app runs on
EXPOSE 7860
# Command to run the app
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]