FROM php:8.3-cli RUN apt-get update && apt-get install -y unzip && rm -rf /var/lib/apt/lists/* COPY backup/rmapi /usr/local/bin/rmapi RUN chmod +x /usr/local/bin/rmapi WORKDIR /app COPY web/ /app CMD ["php", "-S", "0.0.0.0:8080", "-t", "/app"]