feat: hianime-api v2.0.0 modernization

This commit is contained in:
RY4N
2026-03-27 01:18:39 +06:00
parent a6354f97fd
commit 96da2c73a9
7 changed files with 221 additions and 196 deletions

View File

@@ -6,12 +6,12 @@ WORKDIR /app
# This will cache them and speed up future builds
FROM base AS install
RUN mkdir -p /temp/dev
COPY package.json bun.lockb /temp/dev/
COPY package.json bun.lock /temp/dev/
RUN cd /temp/dev && bun install --frozen-lockfile
# Install with --production (exclude devDependencies)
RUN mkdir -p /temp/prod
COPY package.json bun.lockb /temp/prod/
COPY package.json bun.lock /temp/prod/
RUN cd /temp/prod && bun install --frozen-lockfile --production
# Copy node_modules from temp directory