Skip to content

Instantly share code, notes, and snippets.

@Satal
Created February 18, 2024 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Satal/3958200eef9dad00cdf6a901f7e5f558 to your computer and use it in GitHub Desktop.
Save Satal/3958200eef9dad00cdf6a901f7e5f558 to your computer and use it in GitHub Desktop.
Agency Swarm Dockerfile
# 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