Refactor code structure for improved readability and maintainability
هذا الالتزام موجود في:
13
Q1/Dashboard/Dockerfile
Normal file
13
Q1/Dashboard/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
# Minimal static-file server for just the dashboard, so it can be deployed
|
||||
# as its own service on Ghaymah, separate from the API container.
|
||||
FROM nginx:alpine
|
||||
|
||||
# nginx's default port is 80; most container platforms (Ghaymah included,
|
||||
# per its port-configuration step) let you pick which port the service
|
||||
# listens on, so we keep nginx's default here and just set that port
|
||||
# when creating the service.
|
||||
COPY index.html /usr/share/nginx/html/index.html
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم