This commit is contained in:
parent
59ec24bbd9
commit
dccda18b49
@ -1,8 +1,8 @@
|
|||||||
FROM fascinated/docker-images:nodejs_20_with_pnpm AS base
|
FROM fascinated/docker-images:nodejs_20_with_pnpm AS base
|
||||||
|
|
||||||
# Install depends
|
# Install dependencies, including Python
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
RUN apk add --no-cache libc6-compat
|
RUN apk add --no-cache libc6-compat python3 make g++ gcc
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json* pnpm-lock.yaml* ./
|
COPY package.json* pnpm-lock.yaml* ./
|
||||||
RUN pnpm install --frozen-lockfile --quiet
|
RUN pnpm install --frozen-lockfile --quiet
|
||||||
|
@ -3,11 +3,7 @@ import ScoreSaberPlayerToken from "@/common/model/token/scoresaber/score-saber-p
|
|||||||
import {PlayerHistory} from "@/common/player/player-history";
|
import {PlayerHistory} from "@/common/player/player-history";
|
||||||
import {config} from "../../../../../config";
|
import {config} from "../../../../../config";
|
||||||
import ky from "ky";
|
import ky from "ky";
|
||||||
import {
|
import {formatDateMinimal, getDaysAgoDate, getMidnightAlignedDate,} from "@/common/time-utils";
|
||||||
formatDateMinimal,
|
|
||||||
getDaysAgoDate,
|
|
||||||
getMidnightAlignedDate,
|
|
||||||
} from "@/common/time-utils";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A ScoreSaber player.
|
* A ScoreSaber player.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { useContext } from "react";
|
import { useContext } from "react";
|
||||||
import { DatabaseContext } from "../components/loaders/database-loader";
|
import { DatabaseContext } from "@/components/loaders/database-loader";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the database context.
|
* Gets the database context.
|
||||||
|
Reference in New Issue
Block a user