File size: 387 Bytes
affcd23 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
FROM pytorch/pytorch:1.11.0-cuda11.3-cudnn8-devel
WORKDIR /repos/asr_project_template
# Install requirements for torchaudio
RUN pip install sox && conda install torchaudio==0.11.0 -c pytorch && conda install -c conda-forge librosa
# Install requirements
COPY requirements.txt ./
RUN pip install -r requirements.txt
# Copy the contents of repository
COPY . .
# Expose port
EXPOSE 3000 |