mirror of
https://github.com/woodchen-ink/Q58Bot.git
synced 2025-07-18 05:42:06 +08:00
16 lines
298 B
Docker
16 lines
298 B
Docker
FROM python:3.9-slim
|
|
|
|
# 设置时区
|
|
ENV TZ=Asia/Singapore
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY src /app/src
|
|
COPY data /app/data
|
|
|
|
CMD ["python", "src/main.py"]
|