Added Docker support

This commit is contained in:
maziggy
2025-12-09 17:25:17 +00:00
parent 8ce64ff38b
commit 0194a0498e
3 changed files with 16 additions and 10 deletions
+1 -2
View File
@@ -4,8 +4,7 @@ FROM node:22-bookworm-slim AS frontend-builder
WORKDIR /app/frontend
COPY frontend/package*.json ./
RUN npm ci --ignore-scripts && \
npm rebuild esbuild
RUN npm ci
COPY frontend/ ./
RUN npm run build
+12 -8
View File
@@ -130,27 +130,31 @@
## 🚀 Quick Start
### Requirements
- Python 3.10+ (3.11/3.12 recommended)
- Bambu Lab printer with **LAN Mode** enabled
- Same local network as printer
### Installation
### Docker (Recommended)
```bash
git clone https://github.com/maziggy/bambuddy.git
cd bambuddy
docker compose up -d
```
Open **http://localhost:8000** and add your printer!
### Manual Installation
```bash
# Clone and setup
git clone https://github.com/maziggy/bambuddy.git
cd bambuddy
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Run
uvicorn backend.app.main:app --host 0.0.0.0 --port 8000
```
Open **http://localhost:8000** and add your printer!
> **Need detailed instructions?** See the [Installation Guide](https://github.com/maziggy/bambuddy-wiki/blob/main/Installation.md)
> **Need detailed instructions?** See the [Installation Guide](https://github.com/maziggy/bambuddy-wiki/blob/main/Installation.md) or [Docker Guide](https://github.com/maziggy/bambuddy-wiki/blob/main/Docker.md)
### Enabling LAN Mode
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
sudo DOCKER_BUILDKIT=0 docker compose build