fix: Dockerfile now copies VAE weights + variational config (root cause of has_vae: false)
Browse files- web/Dockerfile +3 -0
web/Dockerfile
CHANGED
|
@@ -16,12 +16,15 @@ RUN touch /app/README.md && pip install --no-cache-dir .
|
|
| 16 |
|
| 17 |
# Copy only what the web app needs
|
| 18 |
COPY scripts/bezier.yml /app/scripts/bezier.yml
|
|
|
|
| 19 |
COPY scripts/shapes.py /app/scripts/shapes.py
|
| 20 |
COPY data/formfinder_bezier.eqx /app/data/formfinder_bezier.eqx
|
|
|
|
| 21 |
COPY web/ /app/web/
|
| 22 |
|
| 23 |
ENV PYTHONPATH=/app/src:/app
|
| 24 |
ENV JAX_PLATFORMS=cpu
|
|
|
|
| 25 |
|
| 26 |
EXPOSE 7860
|
| 27 |
|
|
|
|
| 16 |
|
| 17 |
# Copy only what the web app needs
|
| 18 |
COPY scripts/bezier.yml /app/scripts/bezier.yml
|
| 19 |
+
COPY scripts/variational_bezier.yml /app/scripts/variational_bezier.yml
|
| 20 |
COPY scripts/shapes.py /app/scripts/shapes.py
|
| 21 |
COPY data/formfinder_bezier.eqx /app/data/formfinder_bezier.eqx
|
| 22 |
+
COPY data/variational_formfinder_variational_bezier.eqx /app/data/variational_formfinder_variational_bezier.eqx
|
| 23 |
COPY web/ /app/web/
|
| 24 |
|
| 25 |
ENV PYTHONPATH=/app/src:/app
|
| 26 |
ENV JAX_PLATFORMS=cpu
|
| 27 |
+
ENV PYTHONUNBUFFERED=1
|
| 28 |
|
| 29 |
EXPOSE 7860
|
| 30 |
|