rrg92's picture
v1
19f2b1d
raw
history blame
559 Bytes
FROM pytorch/pytorch:2.1.0-cuda12.1-cudnn8-devel
ARG DEBIAN_FRONTEND=noninteractive
#RUN apt-get update && \
# apt-get install --no-install-recommends -y sox libsox-fmt-all curl wget gcc git git-lfs build-essential libaio-dev libsndfile1 ssh ffmpeg && \
# apt-get clean && apt-get -y autoremove
WORKDIR /app
COPY requirements.txt .
RUN python -m pip install --verbose -r requirements.txt
RUN python -m pip cache purge
RUN python -m pip install spaces
COPY . .
RUN chmod +x InstallFromReadme.sh
RUN ./InstallFromReadme.sh
CMD ["python","app.py"]