Merge with store

This commit is contained in:
Andras Schmelczer 2026-05-28 08:42:34 +01:00
commit 3ad2766f82
128 changed files with 1185 additions and 0 deletions

25
Dockerfile Normal file
View file

@ -0,0 +1,25 @@
FROM schmelczera/error-pages as build-error-pages
RUN python build.py 401 403 404 502 50x
FROM node:latest as build-webpage
WORKDIR /home/node
COPY frontend .
RUN npm install
RUN npm run build
FROM nginx:alpine
WORKDIR /var/www
RUN rm -rf *
COPY --from=build-error-pages /home/python/built errors
COPY --from=build-webpage /home/node/dist/frontend .
RUN find . -type f | xargs gzip -k9 &&\
chmod -R 555 .
VOLUME ["/var/www/sockets"]
COPY ingress/nginx-config /etc/nginx/