фикс: маунт agent_api не работал из-за опечатки

This commit is contained in:
Егор Кандрушин 2026-04-19 11:52:44 +03:00
parent 0709f5433b
commit 9cc7b45c23
2 changed files with 3 additions and 8 deletions

View file

@ -4,7 +4,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
RUN apt update && apt install make -y
RUN apt update && apt install make sudo -y
ENV AGENT_USER="agent"
ENV WORKSPACE_DIR="/workspace/"
@ -52,8 +52,7 @@ ENV PATH="/app/.venv/bin:$PATH"
COPY Makefile ./
COPY .mk/ ./.mk/
RUN chown root:root /app && chmod 700 /app
RUN apt install sudo -y && \
echo "agent ALL=(ALL) NOPASSWD: /usr/bin/apt*" >> /etc/sudoers
RUN echo "agent ALL=(ALL) NOPASSWD: /usr/bin/apt*" >> /etc/sudoers
EXPOSE 8000