chat_due / Dockerfile
AleRive's picture
Create Dockerfile
0fe2e26 verified
raw
history blame
282 Bytes
FROM python:3.9
# Imposta la directory di lavoro
WORKDIR /app
# Copia tutti i file
COPY . /app
# Installa le dipendenze
RUN pip install --no-cache-dir -r requirements.txt
# Espone la porta del server
EXPOSE 7860
# Comando per avviare il server FastAPI
CMD ["python", "app.py"]