dockerfile update
This commit is contained in:
parent
d49ec393bf
commit
95971e611d
|
@ -1,3 +1,4 @@
|
|||
*.jpg
|
||||
*.png
|
||||
*.mp4
|
||||
*.avi
|
|
@ -2,3 +2,4 @@
|
|||
*.jpeg
|
||||
*.png
|
||||
*.mp4
|
||||
*.avi
|
17
Dockerfile
17
Dockerfile
|
@ -3,3 +3,20 @@
|
|||
# 创建时间:2021-12-31
|
||||
|
||||
|
||||
FROM ubuntu:latest
|
||||
LABEL maintainer="zyfiy1314@163.com"
|
||||
|
||||
# 安装linux包
|
||||
RUN apt update && apt install -y python3-pip zip
|
||||
RUN alias python=python3
|
||||
|
||||
# 安装依赖
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache -U -r requirements.txt
|
||||
|
||||
# 创建工作目录
|
||||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# 复制内容
|
||||
COPY . /usr/src/app
|
Loading…
Reference in New Issue