Spaces:
Runtime error
Runtime error
GPT-free-api
commited on
Commit
•
6fe325f
1
Parent(s):
3edef2b
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -31,4 +31,6 @@ EXPOSE 9222
|
|
31 |
HEALTHCHECK --interval=10s --timeout=5s --start-period=30s CMD curl --fail http://127.0.0.1:9222 || exit 1
|
32 |
|
33 |
# Start Firefox and web-ext
|
34 |
-
CMD
|
|
|
|
|
|
31 |
HEALTHCHECK --interval=10s --timeout=5s --start-period=30s CMD curl --fail http://127.0.0.1:9222 || exit 1
|
32 |
|
33 |
# Start Firefox and web-ext
|
34 |
+
CMD /usr/bin/firefox-esr --headless --remote-debugging-port=9222 & \
|
35 |
+
sleep 10 && \
|
36 |
+
npx web-ext run --source-dir ./src --firefox /usr/bin/firefox-esr --firefox-args="--remote-debugging-port=9222" --verbose
|