12306 购票助手,支持集群,多账号,多任务购票以及 Web 页面管理
docker pull pjialin/py12306:latest
docker run -d --name py12306 --restart always pjialin/py12306:latest
podman run -d --name py12306 --restart always pjialin/py12306:latest
skopeo inspect docker://docker.io/pjialin/py12306:latest
oras pull pjialin/py12306:latest
FROM python:3.6.6-slim
MAINTAINER <pjialin [email protected]>
ENV TZ Asia/Shanghai
WORKDIR /code
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN mkdir -p /data/query /data/user
VOLUME /data
COPY . .
COPY env.docker.py.example /config/env.py
CMD [ "python", "main.py" , "-c", "/config/env.py"]