6 Star 50 Fork 8

xwz/mars-mgn

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
Dockerfile 773 Bytes
Copy Edit Raw Blame History
xwz authored 2025-08-06 09:55 +08:00 . build(devops): 移除 Docker 相关文件
FROM python:3.11.10-slim
# 设置时区环境变量,创建时区软链接
ENV TZ=Asia/Shanghai
RUN ln -fs /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN echo "deb http://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware" >/etc/apt/sources.list && \
echo "deb http://mirrors.aliyun.com/debian-security/ bookworm-security main" >>/etc/apt/sources.list && \
apt update && apt install -y python3-dev default-libmysqlclient-dev build-essential pkg-config && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -r requirements.txt
EXPOSE 8000
# 入口命令
ENTRYPOINT ["bash", "/app/entrypoint.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zhulj993/mars-mgn.git
git@gitee.com:zhulj993/mars-mgn.git
zhulj993
mars-mgn
mars-mgn
master

Search