heixxin commited on
Commit
f32d469
·
verified ·
1 Parent(s): b90fef4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -10
Dockerfile CHANGED
@@ -1,11 +1,13 @@
1
- FROM python:3.11-slim
2
- WORKDIR /app
3
- COPY requirements.txt .
4
- RUN apt-get update && apt-get install -y --no-install-recommends \
5
- gcc \
6
- && pip install --no-cache-dir -r requirements.txt \
7
- && apt-get purge -y gcc \
8
- && apt-get autoremove -y \
9
- && rm -rf /var/lib/apt/lists/*
10
- COPY main.py .
 
 
11
  CMD ["python", "-u", "main.py"]
 
1
+ FROM python:3.11-slim
2
+ WORKDIR /app
3
+ COPY requirements.txt .
4
+ RUN apt-get update && apt-get install -y --no-install-recommends \
5
+ gcc \
6
+ && pip install --no-cache-dir -r requirements.txt \
7
+ && apt-get purge -y gcc \
8
+ && apt-get autoremove -y \
9
+ && rm -rf /var/lib/apt/lists/*
10
+ COPY main.py .
11
+ # 复制 util 目录
12
+ COPY util ./util
13
  CMD ["python", "-u", "main.py"]