GPT-free-api commited on
Commit
3edef2b
1 Parent(s): 8a4cdfe

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -31,4 +31,4 @@ 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 /usr/bin/firefox-esr --headless --remote-debugging-port=9222 & sleep 5 && npx web-ext run --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 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