Spaces:
Sleeping
Sleeping
OcDash Deploy commited on
Commit ·
495323c
1
Parent(s): 4e705e2
fix: use port 8080 for HF Spaces
Browse files- Dockerfile +1 -1
- README.md +1 -1
- nginx.conf +1 -1
Dockerfile
CHANGED
|
@@ -8,5 +8,5 @@ RUN npm run build
|
|
| 8 |
FROM nginx:alpine
|
| 9 |
COPY --from=base /app/dist /usr/share/nginx/html
|
| 10 |
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
| 11 |
-
EXPOSE
|
| 12 |
CMD ["nginx", "-g", "daemon off;"]
|
|
|
|
| 8 |
FROM nginx:alpine
|
| 9 |
COPY --from=base /app/dist /usr/share/nginx/html
|
| 10 |
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
| 11 |
+
EXPOSE 8080
|
| 12 |
CMD ["nginx", "-g", "daemon off;"]
|
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: ⚡
|
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
-
app_port:
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
|
|
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
+
app_port: 8080
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
nginx.conf
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
server {
|
| 2 |
-
listen
|
| 3 |
root /usr/share/nginx/html;
|
| 4 |
index index.html;
|
| 5 |
location / {
|
|
|
|
| 1 |
server {
|
| 2 |
+
listen 8080;
|
| 3 |
root /usr/share/nginx/html;
|
| 4 |
index index.html;
|
| 5 |
location / {
|