jarvis / Dockerfile
xdragxt's picture
Update Dockerfile
20d6efa verified
raw
history blame
472 Bytes
FROM python:3.12-slim
WORKDIR /app
COPY . /app
# Install build tools for tgcrypto
RUN apt-get update && \
apt-get install -y gcc && \
pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt && \
apt-get remove -y gcc && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
# Ensure modules directory exists and is writable
RUN mkdir -p /app/modules && chmod 777 /app/modules
CMD ["python", "jarvis.py"]