Zestysson commited on
Commit ·
ed2272f
1
Parent(s): 60b8a84
Fix: Copy all source files in Dockerfile builder stage
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -3,9 +3,8 @@ FROM node:20-alpine AS builder
|
|
| 3 |
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
-
# Copy
|
| 7 |
-
COPY
|
| 8 |
-
COPY src/ ./src/
|
| 9 |
|
| 10 |
# Install dependencies and build the app
|
| 11 |
RUN npm install
|
|
|
|
| 3 |
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
+
# Copy all source files
|
| 7 |
+
COPY . .
|
|
|
|
| 8 |
|
| 9 |
# Install dependencies and build the app
|
| 10 |
RUN npm install
|