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

Polyicon Server in Docker #66

Open
steirico opened this issue Apr 23, 2021 · 1 comment
Open

Polyicon Server in Docker #66

steirico opened this issue Apr 23, 2021 · 1 comment

Comments

@steirico
Copy link

Hi,

are there any hints or experiences on how to run Polycon server in Docker?

Following the instructions in INSTALL.md while cloning https://github.com/ilikerobots/polyicon.git instead of https://github.com/fontello/fontello.git leads to the following error:

# ./server.js
/polyicon/lib/system/runner.js:118
  async function execute() {
        ^^^^^^^^

SyntaxError: Unexpected token function
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:549:28)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/polyicon/server.js:12:3)

Thanks

@ilikerobots
Copy link
Owner

Sorry, I haven't tried with docker yet. Only hints I can give are that I'm currently running it with node 13.12.0 and with the following options:

export NODE_OPTIONS=--max_old_space_size=4096
./server.js

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

2 participants