From 322731dce2622afc544a6b3aa09f001c385f6e42 Mon Sep 17 00:00:00 2001 From: Benedikt Strehle Date: Thu, 22 Aug 2024 19:59:27 +0200 Subject: [PATCH] use fixed deno version 1.45.5 due to breaking change introduced in 1.46.0 --- res/uix-app-docker/Dockerfile | 2 +- res/uix-app-docker/Dockerfile_v0.1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/uix-app-docker/Dockerfile b/res/uix-app-docker/Dockerfile index ebd7ed5..a7efc6f 100644 --- a/res/uix-app-docker/Dockerfile +++ b/res/uix-app-docker/Dockerfile @@ -16,4 +16,4 @@ COPY ./repo . EXPOSE 80 # todo: $UIX_ARGS -CMD sh -c "rm -f deno.lock; rm -f ./src/deno.lock; deno run --import-map https://cdn.unyt.org/uix@0.0.x/importmap.json -Aqr https://cdn.unyt.org/uix@0.0.x/run.ts --port 80 --stage $APP_STAGE --cache-path /datex-cache" +CMD sh -c "rm -f deno.lock; rm -f ./src/deno.lock; deno upgrade --version 1.45.5; deno run --import-map https://cdn.unyt.org/uix@0.0.x/importmap.json -Aqr https://cdn.unyt.org/uix@0.0.x/run.ts --port 80 --stage $APP_STAGE --cache-path /datex-cache" diff --git a/res/uix-app-docker/Dockerfile_v0.1 b/res/uix-app-docker/Dockerfile_v0.1 index aaa0f12..0228ee7 100644 --- a/res/uix-app-docker/Dockerfile_v0.1 +++ b/res/uix-app-docker/Dockerfile_v0.1 @@ -16,4 +16,4 @@ COPY ./repo . EXPOSE 80 {{EXPOSE_DEBUG}} -CMD sh -c "rm -f deno.lock; rm -f ./src/deno.lock; deno run --config deno.json --import-map {{IMPORTMAP_PATH}} -Aqr {{UIX_RUN_PATH}} --port 80 --stage $APP_STAGE --cache-path /datex-cache {{UIX_ARGS}}" \ No newline at end of file +CMD sh -c "rm -f deno.lock; rm -f ./src/deno.lock; deno upgrade --version 1.45.5; deno run --config deno.json --import-map {{IMPORTMAP_PATH}} -Aqr {{UIX_RUN_PATH}} --port 80 --stage $APP_STAGE --cache-path /datex-cache {{UIX_ARGS}}" \ No newline at end of file