diff --git a/Dockerfile b/Dockerfile index 10041fb11..b38064d73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,8 @@ FROM node:22-bookworm-slim AS frontend-builder WORKDIR /app/frontend -# Copy package files and install dependencies as node user to avoid permission issues -COPY --chown=node:node frontend/package*.json ./ -USER node +COPY frontend/package*.json ./ RUN npm ci -USER root COPY frontend/ ./ RUN npm run build diff --git a/README.md b/README.md index 4d260ef1b..c367dc851 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,22 @@ ### Installation +#### Docker (Recommended) + +```bash +git clone https://github.com/maziggy/bambuddy.git +cd bambuddy +docker compose up -d +``` + +To update or rebuild after pulling changes: +```bash +git pull +docker compose up --build -d +``` + +#### Manual Installation + ```bash # Clone and setup git clone https://github.com/maziggy/bambuddy.git diff --git a/frontend/tsconfig.app.json b/frontend/tsconfig.app.json index a9b5a59ca..e9ab3aaf9 100644 --- a/frontend/tsconfig.app.json +++ b/frontend/tsconfig.app.json @@ -24,5 +24,6 @@ "noFallthroughCasesInSwitch": true, "noUncheckedSideEffectImports": true }, - "include": ["src"] + "include": ["src"], + "exclude": ["src/__tests__"] }