Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -9,8 +9,7 @@ ENV USER=pn \
|
|
9 |
SSHX_INSTALL=true \
|
10 |
OPENAI_EDGE_TTS_INSTALL=true
|
11 |
|
12 |
-
RUN --
|
13 |
-
apt-get update && apt-get install -y --no-install-recommends \
|
14 |
apt-utils \
|
15 |
build-essential \
|
16 |
libpq-dev \
|
@@ -35,4 +34,4 @@ RUN git clone https://github.com/aigem/edgeTTS-openai-api.git \
|
|
35 |
EXPOSE ${PORT}
|
36 |
|
37 |
# 在启动时设置 API_KEY 环境变量
|
38 |
-
ENTRYPOINT
|
|
|
9 |
SSHX_INSTALL=true \
|
10 |
OPENAI_EDGE_TTS_INSTALL=true
|
11 |
|
12 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
13 |
apt-utils \
|
14 |
build-essential \
|
15 |
libpq-dev \
|
|
|
34 |
EXPOSE ${PORT}
|
35 |
|
36 |
# 在启动时设置 API_KEY 环境变量
|
37 |
+
ENTRYPOINT /home/pn/edgeTTS-openai-api/src/startup.sh
|