feature/search-prototype (#1)

### Description
This pull request migrates to Nuxt 4.0.0, adds docker, and uses Orval and OpenAPI 3.0 specification to interact with backend

Reviewed-on: #1
Co-authored-by: bivashy <botyrbojey@gmail.com>
Co-committed-by: bivashy <botyrbojey@gmail.com>
This commit is contained in:
2025-07-19 18:05:51 +00:00
committed by bivashy
parent 0bf60ad783
commit 57b071d47f
71 changed files with 2977 additions and 737 deletions

25
Dockerfile.prod Normal file
View File

@ -0,0 +1,25 @@
# Build
FROM oven/bun:1 AS build
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile --ignore-scripts
COPY . .
RUN bun --bun run build
# Launch
FROM oven/bun:1 AS production
RUN groupadd --gid 1001 nuxt-app \
&& useradd --uid 1001 --gid nuxt-app \
--shell /bin/bash --create-home nuxt-app
USER nuxt-app:nuxt-app
WORKDIR /app
COPY --from=build /app/.output /app
EXPOSE 3000/tcp
ENTRYPOINT [ "bun", "--bun", "run", "/app/server/index.mjs" ]