代码拉取完成,页面将自动刷新
#FROM registry.cn-beijing.aliyuncs.com/wendal/xmake:2.6.4
FROM ubuntu:22.04
# ENV PYTHONUNBUFFERED=1
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
# RUN apk add --update --no-cache python3 otf2bdf && ln -sf python3 /usr/bin/python
# RUN python3 -m ensurepip
# RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple bottle --no-cache --upgrade pip setuptools
RUN sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
RUN sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
RUN apt update -y && \
apt install python3-pip python3 -y && \
apt clean -y
RUN python3 -m pip install --no-cache -i https://pypi.tuna.tsinghua.edu.cn/simple bottle requests
# ENV LIBGL_ALWAYS_INDIRECT=1
# ENV DEBIAN_FRONTEND=noninteractive
# Add user
# RUN adduser --quiet --disabled-password qtuser && usermod -a -G audio qtuser
# RUN apt-get update && apt-get install -y python3-pyqt5
# RUN apt-get install -y libxcb-xinerama0
# copy fonts
COPY fonts /opt/fonts/
# COPY bdf /opt/bdf/
ENV LANG C.UTF-8
# copy apps
# COPY bdfconv2/bdfconv /opt/
COPY app /opt/app/
COPY u8g2_font_tool_shell /opt/
ENV QT_QPA_PLATFORM=offscreen
EXPOSE 9000
WORKDIR /opt/app/
CMD ["/usr/bin/python3", "app.py"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。