1FROM docker.io/library/alpine:3.23
2RUN apk add --no-cache php
3
4ARG USER=1000
5RUN adduser -D "$USER"
6USER $USER
7WORKDIR /app
8
9# Copy only the necessary files
10COPY img /app/img
11COPY css /app/css
12COPY js /app/js
13COPY browserconfig.xml favicon.ico index.php routing.php site.webmanifest /app/
14
15EXPOSE 8080
16CMD [ "php", "-S", "0.0.0.0:8080", "routing.php" ]