2024-08-12 04:45:59 +08:00
|
|
|
FROM swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python:3.10-slim-bullseye
|
2024-05-01 02:17:21 +08:00
|
|
|
|
|
|
|
ENV TZ Asia/Shanghai
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y git
|
|
|
|
|
|
|
|
WORKDIR /liteyukibot
|
|
|
|
|
|
|
|
COPY . /liteyukibot
|
|
|
|
|
2024-11-16 02:24:47 +08:00
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
2024-05-01 02:17:21 +08:00
|
|
|
|
2024-11-21 19:53:49 +08:00
|
|
|
RUN apt-get install -y libnss3 libnspr4 libdbus-1-3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libatspi2.0-0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libxkbcommon0 libasound2 libpango-1.0-0 libcairo2
|
2024-05-01 02:17:21 +08:00
|
|
|
|
|
|
|
EXPOSE 20216
|
|
|
|
|
|
|
|
CMD ["python", "main.py"]
|