agentops/app/e2e/sdk-api/Dockerfile

15 lines
387 B
Docker

# Use the official Python image as the base image
FROM python:3.9-slim
# Set the working directory in the container
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . /app
# Install any needed dependencies specified in requirements.txt
RUN pip install --no-cache-dir -r ./src/requirements.txt
# Run Python when the container launches
CMD ["python"]