Docker Support
This commit is contained in:
parent
5584416e8d
commit
aaf362f7f0
1 changed files with 14 additions and 0 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal 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"]
|
||||||
Loading…
Reference in a new issue