Docker Support

This commit is contained in:
Xiaopang 2022-03-10 13:07:53 +00:00
parent 5584416e8d
commit aaf362f7f0

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM ubuntu:latest
MAINTAINER Xiaopang
WORKDIR /app
COPY . /app
RUN apt-get update \
&& apt-get install -y python3-pip python3 git \
&& cd /usr/local/bin \
&& ln -s /usr/bin/python3 python \
&& pip3 install -r /app/requirements.txt
CMD ["python" , "TikTok_ZH.py"]