add python
Some checks failed
Deploy / deploy (push) Failing after 47s

This commit is contained in:
Lee 2024-09-30 08:46:25 +01:00
parent 7498f2ee94
commit 59ec24bbd9
6 changed files with 6 additions and 4 deletions

@ -25,6 +25,8 @@ RUN pnpm run build
FROM base AS runner
WORKDIR /app
RUN apk add --no-cache python3
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1

@ -1,6 +1,6 @@
import { formatNumberWithCommas, formatPp } from "@/common/number-utils";
import { scoresaberService } from "@/common/service/impl/scoresaber";
import { ScoreSort } from "@/common/service/score-sort";
import { ScoreSort } from "@/common/model/score/score-sort";
import PlayerData from "@/components/player/player-data";
import { format } from "@formkit/tempo";
import { Metadata, Viewport } from "next";

@ -3,7 +3,7 @@ import ScoreSaberPlayerScoresPageToken from "@/common/model/token/scoresaber/sco
import { ScoreSaberPlayerSearchToken } from "@/common/model/token/scoresaber/score-saber-player-search-token";
import ScoreSaberPlayerToken from "@/common/model/token/scoresaber/score-saber-player-token";
import { ScoreSaberPlayersPageToken } from "@/common/model/token/scoresaber/score-saber-players-page-token";
import { ScoreSort } from "../score-sort";
import { ScoreSort } from "../../model/score/score-sort";
import Service from "../service";
import ScoreSaberPlayer, {
getScoreSaberPlayerFromToken,

@ -2,7 +2,7 @@
import ScoreSaberPlayerScoresPageToken from "@/common/model/token/scoresaber/score-saber-player-scores-page-token";
import { scoresaberService } from "@/common/service/impl/scoresaber";
import { ScoreSort } from "@/common/service/score-sort";
import { ScoreSort } from "@/common/model/score/score-sort";
import { useQuery } from "@tanstack/react-query";
import Mini from "../ranking/mini";
import PlayerHeader from "./player-header";

@ -7,7 +7,7 @@ import { useCallback, useEffect, useState } from "react";
import Card from "../card";
import Pagination from "../input/pagination";
import { Button } from "../ui/button";
import { ScoreSort } from "@/common/service/score-sort";
import { ScoreSort } from "@/common/model/score/score-sort";
import ScoreSaberPlayerScoresPageToken from "@/common/model/token/scoresaber/score-saber-player-scores-page-token";
import Score from "@/components/score/score";
import ScoreSaberPlayer from "@/common/model/player/impl/scoresaber-player";