Update Dockerfile
Browse files- 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 |
|