Skip to content

Commit

Permalink
Containerize application (SWE-agent#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret authored Apr 5, 2024
1 parent a34e74a commit acdab0e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM python:3.9

# Set the working directory
WORKDIR /app

# Install Python dependencies
RUN pip install anthropic config datasets docker gymnasium numpy openai pandas rich ruamel.yaml swebench tenacity unidiff simple-parsing together ollama

# Install Docker CLI using the official Docker installation script
RUN curl -fsSL https://get.docker.com -o get-docker.sh && \
sh get-docker.sh

# Copy the application code
# Do this last to take advantage of the docker layer mechanism
COPY . /app

0 comments on commit acdab0e

Please sign in to comment.