📦 Add NodeJS for Docker

This commit is contained in:
Evil0ctal 2023-03-09 01:15:11 -08:00 committed by GitHub
parent 8284c60425
commit 8f6bc9747a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,11 @@
# Credits
# https://github.com/jw-star
FROM python:3.10.5-slim-buster
MAINTAINER jwstar (https://hub.docker.com/repository/docker/jwstar/douyin_tiktok_download_api)
RUN apt-get update && apt-get -y install gcc && apt-get -y install nodejs
MAINTAINER evil0ctal (https://hub.docker.com/repository/docker/evil0ctal/douyin_tiktok_download_api/general)
RUN apt-get update
RUN apt-get -y install gcc
RUN apt-get -y install nodejs
RUN npm install -y md5
COPY . /app
RUN pip3 --no-cache-dir install --user -r /app/requirements.txt
WORKDIR /app