removed nginx.conf
هذا الالتزام موجود في:
@@ -21,8 +21,6 @@ FROM nginx:alpine
|
||||
# Copy the built React app to Nginx's html directory
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
|
||||
# Copy custom Nginx configuration
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
# Expose port 80
|
||||
EXPOSE 80
|
||||
|
||||
17
README.md
17
README.md
@@ -107,6 +107,23 @@ src/
|
||||
|
||||
Create a `.env` file in the root directory with necessary environment variables.
|
||||
|
||||
## Deployment with Docker
|
||||
|
||||
This project includes Docker configuration files for easy deployment:
|
||||
|
||||
1. Build and run the application using Docker Compose:
|
||||
```bash
|
||||
docker-compose up --build
|
||||
```
|
||||
|
||||
2. The frontend will be available at http://localhost:80
|
||||
3. The backend API will be available at http://localhost:3001
|
||||
|
||||
The Docker setup includes:
|
||||
- A frontend service running Nginx to serve the React application
|
||||
- A backend service running Node.js Express server
|
||||
- Proper networking between services
|
||||
|
||||
## License
|
||||
|
||||
This project is proprietary and confidential.
|
||||
المرجع في مشكلة جديدة
حظر مستخدم