GPT-free-api commited on
Commit
6fe325f
1 Parent(s): 3edef2b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 mkdir -p /tmp/firefox-profile && /usr/bin/firefox-esr --headless --remote-debugging-port=9222 --profile /tmp/firefox-profile & sleep 5 && npx web-ext run --source-dir ./src --firefox /usr/bin/firefox-esr --firefox-profile /tmp/firefox-profile --verbose
 
 
 
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