Skip to content

Commit

Permalink
fix: build failing on mongo migtations - disabled migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
raaymax committed Oct 14, 2024
1 parent 610ab4b commit e8da7fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
if [ -f ".envrc" ]; then
. .envrc
fi
deno task migrate
#deno task migrate
deno task start

0 comments on commit e8da7fd

Please sign in to comment.