Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: CERT_HAS_EXPIRED when building production-one-port docker image on Windows #4567

Open
borolepratik opened this issue Dec 22, 2024 · 1 comment

Comments

@borolepratik
Copy link

Describe the bug
Unable to build production-one-docker image, seeing error: CERT_HAS_EXPIRED for https://github.com/reflex-dev/reflex/blob/main/docker-example/production-one-port/Dockerfile#L30

  • Python Version: 3.13.1
  • Reflex Version: 0.6.7
  • OS: Windows 11

Additional context

ERROR [builder 10/12] RUN if [ -f .web/bun.lockb ]; then cd .web && ~/.local/share/reflex/bun/bin/bun install --frozen-lockfile; fi                                            9.1s 
------
 > [builder 10/12] RUN if [ -f .web/bun.lockb ]; then cd .web && ~/.local/share/reflex/bun/bin/bun install --frozen-lockfile; fi:
0.305 bun install v1.1.29 (6d43b366)
0.307 Resolving dependencies
0.643 Resolved, downloaded and extracted [2]
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball @nodelib/[email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball @nodelib/[email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball @alloc/[email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball @nodelib/[email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
8.776
8.776 error: CERT_HAS_EXPIRED downloading tarball [email protected]
------

 1 warning found (use docker --debug to expand):
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 59)
Dockerfile:30
--------------------
  28 |     # Install pre-cached frontend dependencies (if exist)
  29 |     COPY *.web/bun.lockb *.web/package.json .web/
  30 | >>> RUN if [ -f .web/bun.lockb ]; then cd .web && ~/.local/share/reflex/bun/bin/bun install --frozen-lockfile; fi
  31 |
  32 |     # Copy local context to `/app` inside container (see .dockerignore)
--------------------
ERROR: failed to solve: process "/bin/sh -c if [ -f .web/bun.lockb ]; then cd .web && ~/.local/share/reflex/bun/bin/bun install --frozen-lockfile; fi" did not complete successfully: exit code: 1
Copy link

linear bot commented Dec 22, 2024

@borolepratik borolepratik changed the title error: CERT_HAS_EXPIRED when building production-one-port docker image error: CERT_HAS_EXPIRED when building production-one-port docker image on Windows Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant