Created
February 18, 2024 11:18
-
-
Save Satal/3958200eef9dad00cdf6a901f7e5f558 to your computer and use it in GitHub Desktop.
Agency Swarm Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use the latest Ubuntu image as the base | |
FROM ubuntu:latest | |
# Update apt package list and install python3 and pip3 | |
RUN apt-get update && \ | |
apt-get install -y python3 python3-pip git && \ | |
apt-get clean && \ | |
rm -rf /var/lib/apt/lists/* | |
# Set the working directory in the container | |
WORKDIR /app | |
# Install the Python package from the cloned repository | |
RUN pip3 install selenium agency-swarm webdriver-manager selenium_stealth | |
# Define environment variable for OpenAI API Key | |
ENV OPENAI_API_KEY YourOpenAIKeyHere |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment