Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -9
Dockerfile
CHANGED
|
@@ -28,7 +28,7 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y \
|
|
| 28 |
&& rustup default nightly
|
| 29 |
|
| 30 |
# Install pnpm globally
|
| 31 |
-
RUN
|
| 32 |
|
| 33 |
|
| 34 |
# --- Create non-root user ---
|
|
@@ -45,14 +45,6 @@ USER appuser
|
|
| 45 |
# Clone Firecrawl repo
|
| 46 |
RUN git clone https://github.com/firecrawl/firecrawl.git .
|
| 47 |
|
| 48 |
-
# Install JS dependencies for API
|
| 49 |
-
WORKDIR /opt/firecrawl/apps/api
|
| 50 |
-
RUN pnpm install
|
| 51 |
-
|
| 52 |
-
# Install JS dependencies for Playwright service
|
| 53 |
-
WORKDIR /opt/firecrawl/apps/playwright-service
|
| 54 |
-
RUN pnpm install
|
| 55 |
-
|
| 56 |
# Back to project root
|
| 57 |
WORKDIR /opt/firecrawl
|
| 58 |
|
|
|
|
| 28 |
&& rustup default nightly
|
| 29 |
|
| 30 |
# Install pnpm globally
|
| 31 |
+
RUN npm install -g pnpm
|
| 32 |
|
| 33 |
|
| 34 |
# --- Create non-root user ---
|
|
|
|
| 45 |
# Clone Firecrawl repo
|
| 46 |
RUN git clone https://github.com/firecrawl/firecrawl.git .
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
# Back to project root
|
| 49 |
WORKDIR /opt/firecrawl
|
| 50 |
|