aiexperiments-ai-duet/Dockerfile

45 lines
754 B
Docker
Raw Permalink Normal View History

2022-05-22 17:17:25 +00:00
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
pkg-config \
libpng-dev \
libjpeg8-dev \
libfreetype6-dev \
libblas-dev \
liblapack-dev \
libatlas-base-dev \
2022-05-22 17:17:25 +00:00
libsndfile1-dev \
libasound2-dev \
libjack-dev \
gfortran \
2022-05-22 17:17:25 +00:00
ffmpeg \
llvm-8 \
python \
2023-01-31 22:37:43 +00:00
python2.7 \
2022-05-22 17:17:25 +00:00
python3 \
python3-dev \
python3-pip \
python3-venv \
nvidia-cuda-dev \
2023-01-31 22:37:43 +00:00
curl \
nodejs \
npm && \
apt clean
2017-01-13 22:52:22 +00:00
2022-05-22 17:17:25 +00:00
RUN pip3 install --upgrade pip
COPY ./server/requirements.txt /tmp/
2022-05-22 17:17:25 +00:00
RUN pip3 install -r /tmp/requirements.txt
COPY . /src/
WORKDIR /src/static/
RUN npm install && npm run build
WORKDIR /src/server/
EXPOSE 8080
2022-05-22 17:17:25 +00:00
ENTRYPOINT python3 server.py