sygil-webui/Dockerfile_base
mrguymiah 20ca6e2749
Updated Dockerfile_base
-Added libsndfile1-dev to apt-get command on line 9
-Added ./setup.py copy as line 14
2022-12-04 15:05:56 -05:00

19 lines
472 B
Plaintext

ARG PYTORCH_IMAGE=hlky/pytorch:1.12.1-runtime
FROM ${PYTORCH_IMAGE}
SHELL ["/bin/bash", "-c"]
WORKDIR /install
RUN apt-get update && \
apt-get install -y wget curl git build-essential zip unzip nano openssh-server libgl1 libsndfile1-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY ./requirements.txt /install/
COPY ./setup.py /install/
RUN /opt/conda/bin/python -m pip install -r /install/requirements.txt
RUN /opt/conda/bin/conda clean -ya