You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Navigate to the backend directory and build the Docker image:
162
+
163
+
```bash
164
+
cd backend
165
+
docker build -t backend-image .
166
+
```
167
+
168
+
Run the Docker container:
169
+
170
+
```bash
171
+
docker run -p 5001:5001 backend-image
172
+
```
173
+
174
+
3.**Build and Run Frontend Docker Image**:
175
+
176
+
Navigate to the frontend directory and build the Docker image:
177
+
178
+
```bash
179
+
cd frontend
180
+
docker build -t frontend-image .
181
+
```
182
+
183
+
Run the Docker container:
184
+
185
+
```bash
186
+
docker run -p 3000:3000 frontend-image
187
+
```
188
+
189
+
By following these steps, you can build and run Docker images for both the frontend and backend of the Talent-Sphere application, running on ports 3000 and 5001 respectively.
190
+
191
+
### Summary:
192
+
193
+
- Added sections to the README to explain how to build and run Docker images for the frontend and backend.
194
+
- Mentioned updating the `.env` files before running the images.
195
+
- Provided detailed steps for building and running the Docker images.
0 commit comments