Giter Club home page Giter Club logo

Comments (6)

serviliosouza avatar serviliosouza commented on May 21, 2024 1

I got the same problem when running with docker

from mcaptcha.

megheaiulian avatar megheaiulian commented on May 21, 2024 1

@serviliosouza to fix that you need to install node and yarn. Run 'yarn install' in the docs/openapi folder and then 'yarn build'.

from mcaptcha.

megheaiulian avatar megheaiulian commented on May 21, 2024

Works after I install yarn and run yarn install && yarn build in the docs folder.

from mcaptcha.

realaravinth avatar realaravinth commented on May 21, 2024

I tried setting up podman, I've never worked with it before. I was facing issues, so I was going to get to it in the morning, but I'm glad it works? 😅

The Dockerfile contains a step to build the frontend, I'm not sure why it didn't work in podman though.

from mcaptcha.

megheaiulian avatar megheaiulian commented on May 21, 2024

I don't think this is podman specific. It should work almost the same way as docker.
I think that because I cloned the repo in a new folder I didn't had the docs/openapi/dist folder built when i run the build.

from mcaptcha.

realaravinth avatar realaravinth commented on May 21, 2024

Apologies for the delay, offline commitments kept me busy 😅

Build assets weren't being copied over to the final stage container from the build container. The container was building successfully on my dev machine and on the CI because node_modules and the build assets were present in host environments and was copied into the final stage container.

I've manually verified that the container is building on a fresh clone of this repository. If the problem still exists, please feel free to reopen the issue.

from mcaptcha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.