add typia for type validation

This commit is contained in:
2025-03-15 21:07:17 -07:00
parent 02ff13e4d3
commit e9d4be1d53
8 changed files with 237 additions and 52 deletions

View File

@@ -8,12 +8,12 @@ COPY package.json bun.lockb /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