Add static Piper asset service
Build and publish static assets / publish (push) Failing after 9s

This commit is contained in:
Ein Anderssono
2026-10-16 07:24:54 +02:00
commit 4ebe1bb9ec
22 changed files with 1215 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM nginxinc/nginx-unprivileged:1.27-alpine
ARG STATIC_VERSION
RUN test -n "$STATIC_VERSION"
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
COPY public/static/ /usr/share/nginx/html/static/
USER root
RUN printf '%s\n' "$STATIC_VERSION" > /usr/share/nginx/html/static/version.txt && \
chmod -R a+rX /usr/share/nginx/html/static
USER 101
EXPOSE 8080