OpusVL-Docker
view release on metacpan or search on metacpan
bin/entrypoint view on Meta::CPAN
# in DEV_MODE we ignore MEMORY_LIMIT and WORKERS
if ($ENV{DEV_MODE}) {
@cmd = ($Config{bin} . '/plackup', '--port', $PORT);
if ($ENV{DEBUG_CONSOLE} or -t STDOUT) {
unshift @cmd, $^X, qw(-d);
}
}
else {
@cmd = ($Config{bin} . '/starman', qw( --server Martian --listen), ":$PORT");
if ($ENV{MEMORY_LIMIT}) {
push @cmd, '--memory-limit', $ENV{MEMORY_LIMIT};
}
if ($ENV{WORKERS}) {
push @cmd, '--workers', $ENV{WORKERS};
}
if ($ENV{STACKTRACE}) {
( run in 1.100 second using v1.01-cache-2.11-cpan-e93a5daba3e )