Dockerfile 351 B

12345678910111213
  1. FROM python:3.8
  2. LABEL maintainer="Stille <[email protected]>"
  3. RUN apt-get update
  4. RUN apt-get install -y zip vim
  5. RUN pip install requests bs4 asyncio aiohttp lxml
  6. ENV TZ=Asia/Shanghai
  7. RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
  8. && echo $TZ > /etc/timezone \
  9. && apt-get install tzdata \
  10. && apt-get clean \
  11. && apt-get autoclean