Spaces:
Sleeping
Sleeping
ffreemt
commited on
Commit
•
34a1631
1
Parent(s):
c5fa067
Update
Browse files- .env +2 -2
- Dockerfile +2 -1
.env
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
SERVER_HOST=
|
2 |
-
SERVER_PORT=
|
3 |
FREE_ACCOUNTS=true
|
4 |
FREE_ACCOUNTS_NUM=1024
|
5 |
Authorization=
|
|
|
1 |
+
SERVER_HOST=0.0.0.0
|
2 |
+
SERVER_PORT=18080
|
3 |
FREE_ACCOUNTS=true
|
4 |
FREE_ACCOUNTS_NUM=1024
|
5 |
Authorization=
|
Dockerfile
CHANGED
@@ -36,7 +36,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
36 |
|
37 |
# 暴露端口
|
38 |
# EXPOSE 8080
|
39 |
-
EXPOSE 5000
|
|
|
40 |
|
41 |
# CMD ["/app/duck2api"]
|
42 |
CMD ["python", "duck2api_fwd.py"]
|
|
|
36 |
|
37 |
# 暴露端口
|
38 |
# EXPOSE 8080
|
39 |
+
# EXPOSE 5000
|
40 |
+
EXPOSE 18080
|
41 |
|
42 |
# CMD ["/app/duck2api"]
|
43 |
CMD ["python", "duck2api_fwd.py"]
|