sygil-webui/Dockerfile_base

19 lines
472 B
Plaintext
Raw Permalink Normal View History

2022-10-04 14:57:48 +03:00
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 && \
2022-10-04 14:57:48 +03:00
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY ./requirements.txt /install/
COPY ./setup.py /install/
2022-10-04 14:57:48 +03:00
RUN /opt/conda/bin/python -m pip install -r /install/requirements.txt
RUN /opt/conda/bin/conda clean -ya