Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
|
@@ -7,10 +7,9 @@ RUN apt-get update && apt-get install -y zip && rm -rf /var/lib/apt/lists/*
|
|
| 7 |
COPY . .
|
| 8 |
|
| 9 |
RUN npm install -g pnpm
|
| 10 |
-
RUN pnpm
|
| 11 |
-
|
| 12 |
-
RUN pnpm
|
| 13 |
-
RUN pnpm install
|
| 14 |
|
| 15 |
RUN pnpm --filter ./artifacts/fb-publisher run build
|
| 16 |
RUN pnpm --filter @workspace/api-server run build
|
|
|
|
| 7 |
COPY . .
|
| 8 |
|
| 9 |
RUN npm install -g pnpm
|
| 10 |
+
RUN pnpm setup || true
|
| 11 |
+
ENV PATH="/root/.local/share/pnpm/bin:$PATH"
|
| 12 |
+
RUN pnpm install --config.ignore-scripts=true
|
|
|
|
| 13 |
|
| 14 |
RUN pnpm --filter ./artifacts/fb-publisher run build
|
| 15 |
RUN pnpm --filter @workspace/api-server run build
|