chore: rimuove il container Docker per il dev

Lo sviluppo passa da hot reload via Docker/web a Flutter installato
sull'host con emulatore Android dedicato (vedi CLAUDE.md).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-12 19:29:18 +02:00
parent cd82edd8d3
commit 9c4f460c9b
3 changed files with 0 additions and 50 deletions
-18
View File
@@ -1,18 +0,0 @@
FROM ubuntu:22.04
ARG FLUTTER_VERSION=3.41.9
ENV DEBIAN_FRONTEND=noninteractive \
FLUTTER_HOME=/opt/flutter \
PATH="/opt/flutter/bin:${PATH}"
RUN apt-get update && apt-get install -y --no-install-recommends \
curl git unzip xz-utils ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN git clone --depth 1 --branch ${FLUTTER_VERSION} \
https://github.com/flutter/flutter.git /opt/flutter && \
flutter config --no-analytics --enable-web && \
flutter precache --web
WORKDIR /workspace
-14
View File
@@ -1,14 +0,0 @@
services:
dev:
build: .
ports:
- "5173:5173"
volumes:
- ../../:/workspace
- pub-cache:/root/.pub-cache
command: bash /workspace/docker/dev/entrypoint.sh
stdin_open: true
tty: true
volumes:
pub-cache:
-18
View File
@@ -1,18 +0,0 @@
#!/bin/bash
set -e
# Aggiunge supporto web se mancante (crea solo web/, non tocca lib/)
if [[ ! -d /workspace/web ]]; then
echo "→ Inizializzazione supporto web..."
flutter create . --platforms=web
fi
# Aggiunge permesso CAMERA se assente (richiesto da mobile_scanner)
MANIFEST=/workspace/android/app/src/main/AndroidManifest.xml
if [[ -f "$MANIFEST" ]] && ! grep -q "CAMERA" "$MANIFEST"; then
echo "→ Aggiunta permesso CAMERA in AndroidManifest.xml..."
sed -i 's|<application|<uses-permission android:name="android.permission.CAMERA" />\n <application|' "$MANIFEST"
fi
flutter pub get
exec flutter run -d web-server --web-hostname=0.0.0.0 --web-port=5173