mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-18 11:56:01 +02:00
Fix docker build
This commit is contained in:
+1
-4
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -24,5 +24,6 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedSideEffectImports": true
|
||||
},
|
||||
"include": ["src"]
|
||||
"include": ["src"],
|
||||
"exclude": ["src/__tests__"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user