Skip to content

Docker run script error #186

@Zorro92

Description

@Zorro92

Describe the bug
Docker container never runs due to an error running the docker_run.sh script

To Reproduce
1.) Build docker container
2.) Check docker logs with "sudo docker logs bot"

My config
Fresh build with only change being my config file added

Expected behavior
Ability to run container with minimal effort

Screenshots
None

Desktop (please complete the following information):
Linux dockerd

Additional context

/app/docker_run.sh:1
npx prisma db push --schema=./prisma/docker.prisma
^^^^^^
SyntaxError: Unexpected identifier 'prisma'
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1177:20)
at Module._compile (node:internal/modules/cjs/loader:1221:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1311:10)
at Module.load (node:internal/modules/cjs/loader:1115:32)
at Module._load (node:internal/modules/cjs/loader:962:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions