adeem6 commited on
Commit
dd1251f
·
verified ·
1 Parent(s): 61fc9df

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -29,7 +29,7 @@ COPY --from=frontend-build /app/frontend/dist /code/frontend/dist
29
  # ليخدم الواجهة (Port 7860) ويمرر الطلبات للـ API (Port 8000)
30
  RUN echo 'server { \
31
  listen 7860; \
32
- location /api/ { proxy_pass http://127.0.0.1:8000/api/; } \
33
  location / { root /code/frontend/dist; try_files $uri $uri/ /index.html; } \
34
  }' > /etc/nginx/sites-enabled/default
35
 
 
29
  # ليخدم الواجهة (Port 7860) ويمرر الطلبات للـ API (Port 8000)
30
  RUN echo 'server { \
31
  listen 7860; \
32
+ location /api/ { proxy_pass http://127.0.0.1:8000/; } \
33
  location / { root /code/frontend/dist; try_files $uri $uri/ /index.html; } \
34
  }' > /etc/nginx/sites-enabled/default
35