derek-thomas HF staff commited on
Commit
e612968
·
verified ·
1 Parent(s): 2ab2f96

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -32,6 +32,9 @@ USER root
32
  # Compile frontend assets and move to /srv (requires root permissions)
33
  RUN reflex export --frontend-only --no-zip && mv .web/_static/* /srv/ && rm -rf .web
34
 
 
 
 
35
  # Revert to non-root user for running the app
36
  USER user
37
 
 
32
  # Compile frontend assets and move to /srv (requires root permissions)
33
  RUN reflex export --frontend-only --no-zip && mv .web/_static/* /srv/ && rm -rf .web
34
 
35
+ # Needed until Reflex properly passes SIGTERM on backend.
36
+ STOPSIGNAL SIGKILL
37
+
38
  # Revert to non-root user for running the app
39
  USER user
40