Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
data_report
/
daw
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d44f3b5d
authored
Jun 26, 2026
by
江名洋
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
build(docker): 添加清华 PyPI 镜像加速
1 parent
20e6a81d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
.dockerignore
docker/Dockerfile
.dockerignore
0 → 100644
View file @
d44f3b5
# Python 缓存
__pycache__/
*.pyc
*.pyo
*.egg-info/
# Git
.git/
.gitignore
# IDE
.vscode/
.idea/
# 临时文件
temp_uploads/
*.xlsx
# 文档
docs/
# 测试
tests/
docker/Dockerfile
View file @
d44f3b5
...
@@ -3,6 +3,9 @@ FROM python:3.11-slim
...
@@ -3,6 +3,9 @@ FROM python:3.11-slim
# 兼容旧 CPU 的 NumPy 环境设置
# 兼容旧 CPU 的 NumPy 环境设置
ENV
OPENBLAS_CORETYPE=Haswell
ENV
OPENBLAS_CORETYPE=Haswell
# PyPI 镜像加速(清华源)
ENV
PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
WORKDIR
/app
WORKDIR
/app
COPY requirements.txt .
COPY requirements.txt .
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment