mirror of
https://github.com/imgyh/tiktok.git
synced 2025-04-06 08:15:46 +08:00
build(dockerfile): 增加node环境
This commit is contained in:
parent
596a0fc633
commit
1ef56da99b
@ -1,5 +1,5 @@
|
|||||||
# This Dockerfile is used to build an Python environment
|
# This Dockerfile is used to build an Python environment
|
||||||
FROM python:3.9-slim-bullseye
|
FROM node:18-bullseye-slim
|
||||||
|
|
||||||
LABEL maintainer="imgyh<admin@imgyh.com>"
|
LABEL maintainer="imgyh<admin@imgyh.com>"
|
||||||
|
|
||||||
@ -7,7 +7,13 @@ WORKDIR /app
|
|||||||
|
|
||||||
ADD . $WORKDIR
|
ADD . $WORKDIR
|
||||||
|
|
||||||
|
RUN sed -i s/deb.debian.org/mirrors.aliyun.com/g /etc/apt/sources.list
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y python3.9 python3-pip
|
||||||
|
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
ENV TZ=Asia/Shanghai
|
||||||
|
|
||||||
CMD ["python3", "TikTokWeb.py"]
|
CMD ["python3", "TikTokWeb.py"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user