Files
bilive/Dockerfile
LimLLL 0ec6b9b448 build: Add GPU version of Docker image (#204)
* GPU version of docker image

* fix gpu build script use default Dockerfile

* build: release docker with gpu

---------

Co-authored-by: limliu <lim.liu.01@outlook.com>
Co-authored-by: John Howe <89397553+timerring@users.noreply.github.com>
2025-03-19 11:24:03 +08:00

26 lines
445 B
Docker

FROM python:3.10-slim
LABEL maintainer="timerring"
WORKDIR /app
COPY . /app
COPY ./assets/msyh.ttf /usr/share/fonts/msyh.ttf
RUN apt-get update && apt-get install -y \
ffmpeg \
procps \
lsof \
curl \
vim \
&& pip install --no-cache-dir -r requirements.txt \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENV BILIVE_PATH=/app
ENV TZ="Asia/Shanghai"
EXPOSE 2233
CMD ["python", "-m", "src.upload.upload"]