From 16757ee9e6042886295da59da51d03d49873eeef Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 19 Oct 2026 14:27:33 -0400 Subject: [PATCH] Add back missing touch --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8466f054f..139250cee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,12 +31,9 @@ RUN if [ "$BUILD" = "oss" ]; then rm -rf server/private; fi && \ RUN npm prune --omit=dev && \ node trace-deps.mjs -o .next/standalone dist/server.mjs dist/migrations.mjs dist/cli.mjs -# MaxMind databases are only shipped in saas builds -RUN mkdir -p maxmind && \ - if [ "$BUILD" = "saas" ]; then \ - touch GeoLite2-Country.mmdb GeoLite2-ASN.mmdb && \ - mv GeoLite2-Country.mmdb GeoLite2-ASN.mmdb maxmind/; \ - fi +# Create placeholder files for MaxMind databases to avoid COPY errors +# Real files should be present for saas builds, placeholders for oss builds +RUN touch /app/GeoLite2-Country.mmdb /app/GeoLite2-ASN.mmdb # FROM node:24.18.1-slim AS runner FROM public.ecr.aws/docker/library/node:24.18.1-slim AS runner