1 Star 1 Fork 1

daiyin/Douyin_TikTok_Download_API

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 914 Bytes
一键复制 编辑 原始数据 按行查看 历史
Evil0ctal 提交于 2024-04-30 18:43 . 🐛: 修复一些小错误
# Use the official Ubuntu base image
FROM ubuntu:jammy
LABEL maintainer="Evil0ctal"
# Set non-interactive frontend (useful for Docker builds)
ENV DEBIAN_FRONTEND=noninteractive
# Update the package list and install Python and pip
RUN apt-get update && apt-get install -y --no-install-recommends \
python3.11 \
python3-pip \
python3.11-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Set a working directory
WORKDIR /app
# Copy the application source code to the container
COPY . /app
# Install pip and set the PyPI mirror (Aliyun)
RUN pip3 install -i https://mirrors.aliyun.com/pypi/simple/ -U pip \
&& pip3 config set global.index-url https://mirrors.aliyun.com/pypi/simple/
# Install dependencies directly
RUN pip3 install --no-cache-dir -r requirements.txt
# Make the start script executable
RUN chmod +x start.sh
# Command to run on container start
CMD ["./start.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/hdy-blue/Douyin_TikTok_Download_API.git
git@gitee.com:hdy-blue/Douyin_TikTok_Download_API.git
hdy-blue
Douyin_TikTok_Download_API
Douyin_TikTok_Download_API
dependabot/pip/certifi-2024.7.4

搜索帮助