Spaces:
Runtime error
Runtime error
fix puppeteer
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -20,7 +20,9 @@ ENV PUPPETEER_CACHE_DIR=/root/.cache/puppeteer
|
|
| 20 |
|
| 21 |
# Copy the rest of the application files to the container
|
| 22 |
COPY --chown=1000 . .
|
| 23 |
-
RUN
|
|
|
|
|
|
|
| 24 |
|
| 25 |
# Expose the application port (assuming your app runs on port 3000)
|
| 26 |
EXPOSE 3000
|
|
|
|
| 20 |
|
| 21 |
# Copy the rest of the application files to the container
|
| 22 |
COPY --chown=1000 . .
|
| 23 |
+
RUN apt-get update && apt-get install -y \
|
| 24 |
+
chromium \
|
| 25 |
+
RUN chmod +x entrypoint.sh
|
| 26 |
|
| 27 |
# Expose the application port (assuming your app runs on port 3000)
|
| 28 |
EXPOSE 3000
|