remove Dockerfile
This commit is contained in:
-45
@@ -1,45 +0,0 @@
|
|||||||
FROM nvidia/cuda:11.2.2-cudnn8-runtime-ubuntu20.04
|
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
|
||||||
|
|
||||||
# Remove any third-party apt sources to avoid issues with expiring keys.
|
|
||||||
RUN rm -f /etc/apt/sources.list.d/*.list
|
|
||||||
|
|
||||||
# Install some basic utilities.
|
|
||||||
RUN apt-get update && apt-get install -y \
|
|
||||||
curl \
|
|
||||||
ca-certificates \
|
|
||||||
sudo \
|
|
||||||
git \
|
|
||||||
bzip2 \
|
|
||||||
libx11-6 \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
RUN apt update
|
|
||||||
|
|
||||||
# install python
|
|
||||||
RUN apt install software-properties-common -y && \
|
|
||||||
add-apt-repository ppa:deadsnakes/ppa && \
|
|
||||||
apt update
|
|
||||||
|
|
||||||
RUN apt install python3-dev -y && \
|
|
||||||
apt install python-is-python3
|
|
||||||
|
|
||||||
|
|
||||||
# install pip
|
|
||||||
RUN apt install python3-pip -y
|
|
||||||
|
|
||||||
# Create a working directory.
|
|
||||||
RUN mkdir /app
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
COPY setup.sh /app
|
|
||||||
COPY requirements/ /app
|
|
||||||
|
|
||||||
RUN bash setup.sh
|
|
||||||
RUN pip install -r server.txt
|
|
||||||
|
|
||||||
RUN pip install whisper-live
|
|
||||||
|
|
||||||
COPY run_server.py /app
|
|
||||||
CMD ["python", "run_server.py"]
|
|
||||||
Reference in New Issue
Block a user