initial working

This commit is contained in:
2025-10-31 21:00:14 +01:00
commit c850cc6e7e
212 changed files with 24622 additions and 0 deletions

25
vm2/Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM python:3.12-slim
# Installa uv
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
WORKDIR /app
# Copia pyproject.toml, codice sorgente e file di configurazione
COPY pyproject.toml ./
COPY src/ ./src/
COPY env/ ./env/
COPY certs/ ./certs/
COPY matlab_func/ ./matlab_func/
# Installa le dipendenze
RUN uv pip install --system -e .
# Crea directory per i log, FTP e MATLAB
RUN mkdir -p /app/logs /app/aseftp/csvfs /app/certs /app/matlab_runtime /app/matlab_func
ENV PYTHONUNBUFFERED=1
ENV PYTHONPATH=/app
# Il comando verrà specificato nel docker-compose.yml per ogni servizio
CMD ["python", "-m", "src.elab_orchestrator"]