Time Zones Are Hard - https://tz.rita.moe

Stricter docker image

Changed files
+11 -9
-7
.dockerignore
···
-
**/.git
-
**/.forgejo
-
.dockerignore
-
.gitignore
-
Dockerfile
-
README.md
-
renovate.json
+11 -2
Dockerfile
···
FROM docker.io/library/alpine:3.21
+
RUN apk add --no-cache php
+
+
ARG USER=1000
+
RUN adduser -D $USER
+
USER $USER
WORKDIR /app
-
RUN apk add --no-cache php
-
COPY . /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" ]