diff --git a/deno.json b/deno.json index a174be4..0d27297 100644 --- a/deno.json +++ b/deno.json @@ -2,7 +2,7 @@ "lock": false, "importMap": "./import_map.json", "tasks": { - "cache": "deno cache main.ts server-dev.ts", + "cache": "deno cache main.ts server-dev.ts server-run.ts", "server-dev": "deno run -A \"--watch=static/*.css,static/*.ts,static/*/,routes/,translation/\" server-dev.ts", "server": "deno run -A server-run.ts", "test": "deno test --allow-read --allow-net --allow-write --allow-ffi --allow-run=tasklist.exe --allow-env", diff --git a/docker_entrypoint.sh b/docker_entrypoint.sh index 7f3e764..ec96958 100755 --- a/docker_entrypoint.sh +++ b/docker_entrypoint.sh @@ -6,5 +6,6 @@ if [ $? -ne 0 ]; then su root -c "groupadd -g $(id -g) eh" fi su root -c "useradd -g $(id -g) -m -s /bin/bash -u $(id -u) eh" + su root -c "chown -R eh /deno-dir" fi deno task server