dan92 commited on
Commit
788972b
·
verified ·
1 Parent(s): 81bd37c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -10
Dockerfile CHANGED
@@ -1,10 +1,7 @@
1
- FROM hpyp/bbapi:latest
2
-
3
- # 安装curl用于调试
4
- RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
5
-
6
- # 设置entrypoint
7
- COPY entrypoint.sh /entrypoint.sh
8
- RUN chmod +x /entrypoint.sh
9
-
10
- ENTRYPOINT ["/entrypoint.sh"]
 
1
+ FROM hpyp/bbapi:latest
2
+
3
+ ENV APP_SECRET=8001
4
+
5
+ EXPOSE 8001
6
+
7
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8001"]