First version

This commit is contained in:
2024-11-02 17:58:27 +01:00
parent f3a40e2804
commit e5a4ed6271
46 changed files with 6129 additions and 0 deletions

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
FROM node:18.19-alpine AS builder
ARG VITE_EXTRA_HEAD
WORKDIR /app-builder
COPY ./package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM docker.io/library/nginx:1.27.2
# Enable 404.html page
RUN sed -i '12s/#//' /etc/nginx/conf.d/default.conf && cat /etc/nginx/conf.d/default.conf
COPY --from=builder /app-builder/build /usr/share/nginx/html