Copy game page into frontend image
Build and publish frontend / publish (push) Failing after 6s

This commit is contained in:
Ein Anderssono
2026-10-14 09:58:14 +02:00
parent 7cd062ee1f
commit 3d1328301a
+3 -4
View File
@@ -1,11 +1,10 @@
FROM nginxinc/nginx-unprivileged:1.27-alpine
ARG FRONTEND_VERSION
USER root
RUN test -n "$FRONTEND_VERSION" \
&& sed -i "s/__FRONTEND_VERSION__/${FRONTEND_VERSION}/g" /usr/share/nginx/html/index.html
RUN test -n "$FRONTEND_VERSION"
COPY index.html /usr/share/nginx/html/index.html
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
RUN sed -i "s/__FRONTEND_VERSION__/${FRONTEND_VERSION}/g" /usr/share/nginx/html/index.html
USER 101
EXPOSE 8080