Rejigged the structure
This commit is contained in:
20
react-site/Dockerfile
Normal file
20
react-site/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install docker CLI (needed for docker exec commands)
|
||||
RUN apt-get update && \
|
||||
apt-get install -y docker.io && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy dependency files
|
||||
COPY pyproject.toml uv.lock* ./
|
||||
|
||||
# Install dependencies
|
||||
RUN uv sync --frozen --no-dev
|
||||
|
||||
# Copy agent code
|
||||
COPY . .
|
||||
|
||||
# Use uv to run the application
|
||||
CMD ["uv", "run", "agent.py"]
|
||||
Reference in New Issue
Block a user