dockerizzato
This commit is contained in:
1 parent
4a44ac5600
commit
ce861874df
31 files changed
+4154
-15
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Installa dipendenze
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copia tutto il resto
|
||||
COPY . .
|
||||
|
||||
# Directory dati
|
||||
RUN mkdir -p /app/data/latest /app/data/snapshots /app/data/reports
|
||||
|
||||
EXPOSE 8899
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
Reference in new issue
Block a user