FROM docker.io/library/alpine:3.23 RUN apk add --no-cache php ARG USER=1000 RUN adduser -D "$USER" USER $USER WORKDIR /app # Copy only the necessary files COPY img /app/img COPY css /app/css COPY js /app/js COPY browserconfig.xml favicon.ico index.php routing.php site.webmanifest /app/ EXPOSE 8080 CMD [ "php", "-S", "0.0.0.0:8080", "routing.php" ]