Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,9 @@ FROM node:18
|
|
| 4 |
# Create a directory for the application
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
# Copy the package.json and package-lock.json for both frontend and backend
|
| 8 |
COPY frontend/package*.json ./frontend/
|
| 9 |
COPY backend/package*.json ./backend/
|
|
|
|
| 4 |
# Create a directory for the application
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# Install nodemon globally
|
| 8 |
+
RUN npm install -g nodemon
|
| 9 |
+
|
| 10 |
# Copy the package.json and package-lock.json for both frontend and backend
|
| 11 |
COPY frontend/package*.json ./frontend/
|
| 12 |
COPY backend/package*.json ./backend/
|