FROM ubuntu:22.04 RUN sed -i 's/archive.ubuntu.com\|security.ubuntu.com\|ports.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list RUN apt update && apt install -y nginx && apt install -y tzdata # 设置时区 RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN echo "Asia/Shanghai" > /etc/timezone RUN dpkg-reconfigure -f noninteractive tzdata