SHODAN / Dockerfile
jisaacso219's picture
Update Dockerfile
8b14bbd verified
raw
history blame
405 Bytes
FROM python:3.10-slim
# Fix numba cache crash
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
RUN apt-get update && apt-get install -y git ffmpeg libsndfile1 && apt-get clean
WORKDIR /app
COPY . /app
RUN pip install --upgrade pip
# Install all packages from PyTorch + working combo
RUN pip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt
EXPOSE 7860
CMD ["python", "app.py"]