File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ You can find the docker image in `tools/image/Dockerfile`
223223### Build and run - app starts automatically
224224
225225``` bash
226- docker build -t ai-agent:latest -f tools/images /Dockerfile .
226+ docker build -t ai-agent:latest -f tools/image /Dockerfile .
227227docker run -d --rm -p 7860:7860 ai-agent:latest
228228```
229229
Original file line number Diff line number Diff line change 11FROM ghcr.io/astral-sh/uv:python3.12-bookworm
22
3+ # Set default shell to bash for all subsequent RUN commands
4+ SHELL ["/bin/bash" , "-c" ]
5+
36# Crear usuario no-root con UID/GID que suele usar VS Code (1000:1000)
47RUN useradd -ms /bin/bash -u 1000 non-root-user \
58 && apt-get update && apt-get install -y sudo \
@@ -18,11 +21,8 @@ RUN uv venv && \
1821# Copy the rest of the project
1922COPY --chown=non-root-user:non-root-user . ./
2023
21- # Install the package in editable mode
22- RUN source .venv/bin/activate && \
23- uv pip install -e .
24+ # Install the package in editable mode (now using bash by default)
25+ RUN source .venv/bin/activate && uv pip install -e .
2426
25- # Set default shell to use the virtual environment
26- SHELL ["/bin/bash" , "-c" ]
2727EXPOSE 7860
28- ENTRYPOINT ["/bin/bash" , "-c" , " source .venv/bin/activate && python -m ai_agent.app" ]
28+ ENTRYPOINT ["source .venv/bin/activate && python -m ai_agent.app" ]
You can’t perform that action at this time.
0 commit comments