xarvionex-core / Dockerfile
root
Fix: Upgrade OS to Bullseye to fix DNS issues
991924e
raw
history blame contribute delete
611 Bytes
# GANTI DARI 'slim' KE 'bullseye' (Full Version)
# Ini memperbaiki masalah DNS/Glibc yang hilang
FROM python:3.10-bullseye
WORKDIR /app
# Install utility jaringan dasar untuk stabilitas
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
iputils-ping \
dnsutils \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Update Certificate Authority (Agar SSL tidak error)
RUN update-ca-certificates
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Port Hugging Face
EXPOSE 7860
# Jalankan Nexus
CMD ["python", "nexus.py"]