Samueli924 / chaoxing

超星学习通/超星尔雅/泛雅超星全自动无人值守完成任务点
1.86k stars 258 forks source link

docker: add dockerfile #365

Open xuhe2 opened 1 month ago

xuhe2 commented 1 month ago

Dockerfile

FROM python:3.10-alpine 
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
ENTRYPOINT ["python3","main.py"]

Usage

docker run -it --rm chaoxing -u 131xxxx -p xxxxxxxx -l xxx,xxxx

Q

是否接受添加dockerfile的PR?

Samueli924 commented 1 month ago

如果方便可以帮忙提交一下PR,感谢帮助。