Remove obsolete Docker configuration and documentation; add new Dockerfile, docker-compose, and update README for project setup

This commit is contained in:
2025-09-03 16:36:19 +02:00
parent d743a891ff
commit a88b2bdd60
11 changed files with 116 additions and 208 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# Per ora abbiamo bisogno solo di python, se nel futuro avremo bisogno di pytorch/cuda possiamo sempre tornare indietro
#FROM pytorch/pytorch:2.6.0-cuda12.6-cudnn9-devel
FROM python:3.11-slim
# Copio tutti i dati del progetto nella workdir
# (dopo aver definito la workdir mi trovo già in essa)
WORKDIR /app
COPY src .
COPY requirements.txt .
COPY LICENSE .
# Installo le dipendenze
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "src/app.py"]