From e8da7fd145e945175b7ff7f79fc02fe2effefefe Mon Sep 17 00:00:00 2001 From: Mateusz Russak Date: Mon, 14 Oct 2024 23:45:39 +0200 Subject: [PATCH] fix: build failing on mongo migtations - disabled migrations --- Dockerfile | 4 ++-- entrypoint.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e75bdf68..fc29a7c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,8 @@ COPY ./deno ./deno COPY ./migrations ./migrations COPY ./deno.* ./ COPY ./plugins ./plugins -COPY ./migrate-mongo-config.js ./migrate-mongo-config.js -RUN deno cache --allow-scripts npm:migrate-mongo +#COPY ./migrate-mongo-config.js ./migrate-mongo-config.js +#RUN deno cache --allow-scripts npm:migrate-mongo RUN deno cache --allow-scripts ./deno/server/main.ts COPY ./entrypoint.sh ./entrypoint.sh COPY --from=build /app/app/dist /app/public diff --git a/entrypoint.sh b/entrypoint.sh index cd32b9dd..547a0135 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,5 +2,5 @@ if [ -f ".envrc" ]; then . .envrc fi -deno task migrate +#deno task migrate deno task start