Juna190825 commited on
Commit
8763181
·
verified ·
1 Parent(s): 513eb01

Debugging

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile CHANGED
@@ -47,6 +47,14 @@ RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v0.32.2/gec
47
  # Verify installations
48
  RUN geckodriver --version && firefox-esr --version
49
 
 
 
 
 
 
 
 
 
50
  # Copy application
51
  COPY . .
52
 
 
47
  # Verify installations
48
  RUN geckodriver --version && firefox-esr --version
49
 
50
+ # Ensure proper port exposure
51
+ EXPOSE 2828
52
+ EXPOSE 4444
53
+
54
+ # Add health check
55
+ HEALTHCHECK --interval=30s --timeout=30s \
56
+ CMD curl -f http://localhost:4444/status || exit 1
57
+
58
  # Copy application
59
  COPY . .
60