Fix docker build

This commit is contained in:
maziggy
2025-12-12 16:48:12 +01:00
parent 7262896a2b
commit 9ba4ef6355
3 changed files with 19 additions and 5 deletions
+1 -4
View File
@@ -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
+16
View File
@@ -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
+2 -1
View File
@@ -24,5 +24,6 @@
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src"]
"include": ["src"],
"exclude": ["src/__tests__"]
}