feat(frontend): added frontend
- Router: client side route handling with client side rendering - Toast: rought Toast handling for better UX and messaging - Auth: single point of truth for the Logged in user This commit doesnt not include the openapi generated code
This commit is contained in:
parent
0db41a440d
commit
08c910c193
28 changed files with 1994 additions and 0 deletions
17
frontend/Dockerfile
Normal file
17
frontend/Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM node:22-alpine AS pnpm_base
|
||||
RUN npm install --global pnpm@10;
|
||||
|
||||
FROM pnpm_base AS builder
|
||||
|
||||
COPY . /src
|
||||
WORKDIR /src
|
||||
RUN pnpm install --frozen-lockfile && pnpm run build;
|
||||
|
||||
FROM node:22-alpine
|
||||
|
||||
COPY --from=builder /src/dist /dist
|
||||
COPY ./run.sh /bin/run.sh
|
||||
|
||||
RUN chmod +x /bin/run.sh
|
||||
|
||||
CMD [ "/bin/run.sh" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue