From 448bb70ac8e3246ea7aa72d3729f2334993fcad1 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sun, 4 Jan 2026 02:17:11 +0000 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! perf: build frontend once on runner instead of in Docker --- Dockerfile.frontend | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile.frontend b/Dockerfile.frontend index 42e125b..07aad96 100644 --- a/Dockerfile.frontend +++ b/Dockerfile.frontend @@ -35,8 +35,9 @@ EOF RUN chmod +x /docker-entrypoint.d/40-inject-config.sh -# Create nginx configuration template with backend proxy support -RUN cat > /etc/nginx/templates/default.conf.template <<'EOF' +# Create nginx templates directory and configuration template with backend proxy support +RUN mkdir -p /etc/nginx/templates && \ + cat > /etc/nginx/templates/default.conf.template <<'EOF' # Upstream backend server upstream backend { server ${BACKEND_HOST}:${BACKEND_PORT};