|
FROM tensorflow/tensorflow:2.7.0-gpu |
|
|
|
RUN rm /etc/apt/sources.list.d/cuda.list |
|
RUN rm /etc/apt/sources.list.d/nvidia-ml.list |
|
RUN apt-key del 7fa2af80 |
|
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub |
|
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64/7fa2af80.pub |
|
|
|
|
|
RUN apt-get -y update |
|
RUN apt-get -y upgrade |
|
RUN apt-get install -y ffmpeg |
|
|
|
|
|
WORKDIR /GANime |
|
ENV PROJECT_DIR=/GANime |
|
COPY requirements.txt /GANime/requirements.txt |
|
RUN pip install -r requirements.txt |
|
COPY . . |
|
RUN pip install -e . |
|
|
|
CMD ["python", "app.py"] |
|
|