From 3d1328301ababd7f5d29d4251156235dbb68ca1b Mon Sep 17 00:00:00 2001 From: Ein Anderssono Date: Wed, 14 Oct 2026 09:58:14 +0200 Subject: [PATCH] Copy game page into frontend image --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 495a120..5e78532 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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