Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -2,14 +2,17 @@
|
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
FROM python:3.11
|
4 |
RUN useradd -m -u 1000 user
|
|
|
|
|
|
|
|
|
|
|
5 |
USER user
|
6 |
|
7 |
|
8 |
# 进入工作路径(必要)
|
9 |
WORKDIR /gpt
|
10 |
|
11 |
-
# TTS相关功能
|
12 |
-
RUN apt update && apt install ffmpeg -y
|
13 |
|
14 |
RUN git clone https://github.com/binary-husky/gpt_academic.git
|
15 |
WORKDIR /gpt/gpt_academic
|
|
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
FROM python:3.11
|
4 |
RUN useradd -m -u 1000 user
|
5 |
+
|
6 |
+
# TTS相关功能
|
7 |
+
RUN apt update && apt install ffmpeg -y
|
8 |
+
|
9 |
+
|
10 |
USER user
|
11 |
|
12 |
|
13 |
# 进入工作路径(必要)
|
14 |
WORKDIR /gpt
|
15 |
|
|
|
|
|
16 |
|
17 |
RUN git clone https://github.com/binary-husky/gpt_academic.git
|
18 |
WORKDIR /gpt/gpt_academic
|