# Use a base image with Python and necessary tools installed | |
FROM python:3.10-slim | |
# Set the working directory | |
WORKDIR /app | |
# Copy your holehe script and requirements | |
COPY . /app | |
# Install any necessary dependencies (if any) | |
RUN pip install holehe flask requests # Adjust as needed | |
# Expose a port for the web app | |
EXPOSE 7860 | |
# Command to run the web app | |
CMD ["python", "app.py"] | |