el_magnifico
el_magnifico
RRailway
Created by el_magnifico on 11/9/2023 in #✋|help
Error in Deploying Python Reflex App
Hi - I'm trying to deploy a Reflex.dev python application through Railway following the template created by @Brody (here: https://railway.app/template/A5TaaV) and it's failing on the step that it tries to run reflex export --frontend-only --no-zip with the following error:
11.33 Creating Production Build: 0% 0/9 0:00:00

-----

Dockerfile:30

-------------------

28 | # export phase

29 | COPY . /app/.

30 | >>> RUN reflex export --frontend-only --no-zip

31 |

32 | # caddy phase

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c reflex export --frontend-only --no-zip" did not complete successfully: exit code: 1



Error: Docker build failed
11.33 Creating Production Build: 0% 0/9 0:00:00

-----

Dockerfile:30

-------------------

28 | # export phase

29 | COPY . /app/.

30 | >>> RUN reflex export --frontend-only --no-zip

31 |

32 | # caddy phase

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c reflex export --frontend-only --no-zip" did not complete successfully: exit code: 1



Error: Docker build failed
Tried the following troubleshooting: - Ran the same command locally, and no issues - Deployed the unmodified template and the error is present then Git repo: No, this is for a simple personal site - https://github.com/kamakaya/personal-site-reflex Has anyone experienced this? Any suggestions? Thanks in advance!
9 replies