mirror of
https://github.com/adminlove520/AI-Account-Toolkit.git
synced 2026-05-16 09:26:46 +08:00
28 lines
723 B
Docker
28 lines
723 B
Docker
FROM python:3.13-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1 \
|
|
PIP_NO_CACHE_DIR=1 \
|
|
APP_DIR=/app \
|
|
WORK_DIR=/data
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends ca-certificates tzdata \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt /app/requirements.txt
|
|
RUN pip install -r /app/requirements.txt
|
|
|
|
COPY auto_pool_maintainer_mailtm.py /app/
|
|
COPY chatgpt_register_old.py /app/
|
|
COPY merge_mailtm /app/merge_mailtm
|
|
COPY manage_api_example /app/manage_api_example
|
|
COPY docker/entrypoint.sh /app/docker/entrypoint.sh
|
|
|
|
RUN sed -i 's/\r$//' /app/docker/entrypoint.sh \
|
|
&& chmod +x /app/docker/entrypoint.sh
|
|
|
|
ENTRYPOINT ["/app/docker/entrypoint.sh"]
|