FROM docker.m.daocloud.io/python:3.12-slim WORKDIR /app COPY . /app ENV TZ=Asia/Shanghai \ LANG=C.UTF-8 RUN rm -rf logs .git .idea .venv && apt-get update && apt-get install -y vim curl openssl libssl-dev && pip install -r requirement.txt -i https://mirrors.aliyun.com/pypi/simple/ RUN mkdir -p /app/logs && touch /app/logs/sqlbot.log && rm -rf *.whl EXPOSE 8084 CMD ["python","main_service.py"]