📦 Add NodeJS for Docker
This commit is contained in:
parent
24a28de68b
commit
7f7036528b
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
FROM python:3.10.5-slim-buster
|
FROM python:3.10.5-slim-buster
|
||||||
MAINTAINER jwstar (https://hub.docker.com/repository/docker/jwstar/douyin_tiktok_download_api)
|
MAINTAINER jwstar (https://hub.docker.com/repository/docker/jwstar/douyin_tiktok_download_api)
|
||||||
RUN apt-get update && apt-get -y install gcc
|
RUN apt-get update && apt-get -y install gcc && apt-get -y install nodejs
|
||||||
COPY . /app
|
COPY . /app
|
||||||
RUN pip3 --no-cache-dir install --user -r /app/requirements.txt
|
RUN pip3 --no-cache-dir install --user -r /app/requirements.txt
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
@ -9,4 +9,4 @@ WORKDIR /app
|
||||||
|
|
||||||
RUN chmod +x start.sh
|
RUN chmod +x start.sh
|
||||||
|
|
||||||
CMD ["./start.sh"]
|
CMD ["./start.sh"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue