# Use an official Python runtime as a parent image
FROM python:3.9-slim
# Set the working directory inside the container
WORKDIR /app
# Copy the [Link] file to the container
COPY [Link] .
# Install the required packages
RUN pip install --no-cache-dir -r [Link]
# Copy the current directory contents into the container at /app
COPY . .
# Expose the port that the Flask app runs on
EXPOSE 5100
# Command to run the Flask application using gunicorn for production
CMD ["gunicorn", "--bind", "[Link]:5100", "app:app", "--workers=4"]