Adhaan/adhan-webapp/Dockerfile
2025-05-27 11:50:28 +02:00

24 lines
419 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Kopieer requirements eerst voor betere caching
COPY requirements.txt .
# Installeer dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Kopieer de applicatie bestanden
COPY . .
# Maak de benodigde directories aan
RUN mkdir -p /app/static/clips
# Stel de juiste permissies in
RUN chmod -R 755 /app
EXPOSE 80
# Start de applicatie
CMD ["python", "start_all.py"]