Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -28,8 +28,11 @@ RUN git clone https://github.com/kivilaid/Flowise.git .
|
|
| 28 |
# Install pnpm
|
| 29 |
RUN npm install -g pnpm
|
| 30 |
|
| 31 |
-
#
|
| 32 |
-
RUN pnpm
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
# Build project
|
| 35 |
RUN pnpm build
|
|
|
|
| 28 |
# Install pnpm
|
| 29 |
RUN npm install -g pnpm
|
| 30 |
|
| 31 |
+
# Fix lockfile issues by removing it and letting pnpm generate a new one
|
| 32 |
+
RUN rm -f pnpm-lock.yaml
|
| 33 |
+
|
| 34 |
+
# Install dependencies without lockfile
|
| 35 |
+
RUN pnpm install --no-frozen-lockfile
|
| 36 |
|
| 37 |
# Build project
|
| 38 |
RUN pnpm build
|