-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from panoratech/mintlify-docs-0.2
Mintlify docs 0.2
- Loading branch information
Showing
6 changed files
with
107 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ redis-data | |
redis_data | ||
.env | ||
.DS_Store | ||
.pnpm-store/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# run directly from the repo root directory | ||
# docker build -f ./apps/frontend-snippet/Dockerfile.dev . | ||
FROM node:20-alpine AS base | ||
# ======================================================================= | ||
FROM base AS builder | ||
RUN apk add --no-cache libc6-compat | ||
RUN apk update | ||
|
||
# Set pnpm | ||
ENV PNPM_HOME="/pnpm" | ||
ENV PATH="$PNPM_HOME:$PATH" | ||
|
||
ARG VITE_BACKEND_DOMAIN | ||
ARG VITE_ML_FRONTEND_URL | ||
ARG VITE_FRONTEND_DOMAIN | ||
|
||
ENV VITE_BACKEND_DOMAIN="$VITE_BACKEND_DOMAIN" | ||
ENV VITE_FRONTEND_DOMAIN="$VITE_FRONTEND_DOMAIN" | ||
ENV VITE_ML_FRONTEND_URL="$VITE_ML_FRONTEND_URL" | ||
|
||
RUN corepack enable | ||
|
||
WORKDIR /app | ||
RUN pnpm add -g turbo | ||
|
||
# run the ML | ||
CMD cd apps/frontend-snippet && pnpm install && pnpm run dev --host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# run directly from the repo root directory | ||
# docker build -f ./apps/webapp/Dockerfile.dev . | ||
FROM node:20-alpine AS base | ||
# ======================================================================= | ||
FROM base AS builder | ||
RUN apk add --no-cache libc6-compat | ||
RUN apk update | ||
|
||
# Set pnpm | ||
ENV PNPM_HOME="/pnpm" | ||
ENV PATH="$PNPM_HOME:$PATH" | ||
|
||
ARG VITE_BACKEND_DOMAIN | ||
ARG VITE_FRONTEND_DOMAIN | ||
|
||
ENV VITE_BACKEND_DOMAIN="$VITE_BACKEND_DOMAIN" | ||
ENV VITE_FRONTEND_DOMAIN="$VITE_FRONTEND_DOMAIN" | ||
|
||
RUN corepack enable | ||
|
||
WORKDIR /app | ||
RUN pnpm add -g turbo | ||
|
||
# Start the Webapp | ||
CMD cd apps/webapp && pnpm install && pnpm run dev --host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters