voice-agent-ui / Dockerfile
jblast94's picture
Update Dockerfile
e9c0ad8 verified
raw
history blame contribute delete
546 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# --- ADD THIS NEW STEP ---
# The python:3.10-slim image is based on Debian, so we use apt-get.
RUN apt-get update && apt-get install -y git
# -------------------------
# Now the git config commands will work because 'git' is installed
RUN git config --global user.email "[email protected]"
RUN git config --global user.name "jblast94" # You mentioned this one too
COPY app.py .
EXPOSE 7860
CMD ["python", "app.py"]