🎉 initial commit
Some checks failed
CI / Lint (push) Failing after 39s
CI / Build (push) Has been skipped
CI / Test (push) Has been skipped
CI / Helm Lint (push) Successful in 13s

This commit is contained in:
Christian van Dijk
2026-02-23 09:47:16 +01:00
commit 94b4f31102
53 changed files with 3220 additions and 0 deletions

28
frontend/Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
FROM denoland/deno:alpine
RUN apk add --no-cache wget
# The port the application will listen on
ARG PORT=8090
ENV PORT=${PORT}
WORKDIR /app
# Copy the frontend files
# Since the Dockerfile is in the root and files are in alpinejs/, we copy from there
COPY alpinejs/ .
# Ensure the deno user owns the directory so it can write public/config.js
RUN chown -R deno:deno /app
USER deno
# Cache dependencies
RUN deno cache main.ts
# Expose the port
EXPOSE ${PORT}
# Run the application
# We include --allow-write because main.ts writes public/config.js on startup
CMD ["run", "--allow-net", "--allow-read", "--allow-write", "--allow-env", "--allow-run", "main.ts"]