Merge pull request #5 from weixuan00/main

Docker Support
This commit is contained in:
Evil0ctal 2022-03-11 13:37:35 -08:00 committed by GitHub
commit ae56afc1e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"]