Setting NUM_CPUS
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -33,6 +33,9 @@ RUN pip install -r requirements.txt
|
|
| 33 |
# Deploy templates and prepare app
|
| 34 |
RUN reflex init
|
| 35 |
|
|
|
|
|
|
|
|
|
|
| 36 |
# Download all npm dependencies and compile frontend
|
| 37 |
RUN reflex export --frontend-only --no-zip && mv .web/_static/* /srv/ && rm -rf .web
|
| 38 |
|
|
|
|
| 33 |
# Deploy templates and prepare app
|
| 34 |
RUN reflex init
|
| 35 |
|
| 36 |
+
# Setting because lscpu didnt work
|
| 37 |
+
ENV NUM_CPUS=2
|
| 38 |
+
|
| 39 |
# Download all npm dependencies and compile frontend
|
| 40 |
RUN reflex export --frontend-only --no-zip && mv .web/_static/* /srv/ && rm -rf .web
|
| 41 |
|