Navanihk's picture
docker error
fab9edc
raw
history blame
352 Bytes
# Use the official Python 3.10.9 image
FROM python:3.10.9
# Set working directory
WORKDIR /app
# Copy everything into container
COPY . .
# Install Python dependencies
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# Expose the Flask port (default 5000, or whatever you use)
EXPOSE 5000
# Start the Flask app
CMD ["python", "app.py"]