Spaces:
Sleeping
Sleeping
Xiao
commited on
Commit
·
fdb9285
1
Parent(s):
7f470ad
deploy HF
Browse files- .nginx/nginx.conf +1 -1
- Dockerfile +2 -1
.nginx/nginx.conf
CHANGED
@@ -4,7 +4,7 @@ events {
|
|
4 |
|
5 |
http {
|
6 |
server {
|
7 |
-
listen
|
8 |
location /api/ {
|
9 |
# root /usr/share/nginx/html;
|
10 |
# root /app/public;
|
|
|
4 |
|
5 |
http {
|
6 |
server {
|
7 |
+
listen 8001 ;
|
8 |
location /api/ {
|
9 |
# root /usr/share/nginx/html;
|
10 |
# root /app/public;
|
Dockerfile
CHANGED
@@ -154,8 +154,9 @@ COPY --chown=luminlab ./run_hf.sh /app/run_hf.sh
|
|
154 |
EXPOSE 3000
|
155 |
EXPOSE 5000
|
156 |
#flask
|
|
|
157 |
EXPOSE 8000
|
158 |
-
EXPOSE 80
|
159 |
|
160 |
|
161 |
RUN chmod 777 /app/run_hf.sh
|
|
|
154 |
EXPOSE 3000
|
155 |
EXPOSE 5000
|
156 |
#flask
|
157 |
+
EXPOSE 8001
|
158 |
EXPOSE 8000
|
159 |
+
# EXPOSE 80
|
160 |
|
161 |
|
162 |
RUN chmod 777 /app/run_hf.sh
|