From d1200eea7447fb50c83c85178b3c6ac16e9840c6 Mon Sep 17 00:00:00 2001 From: Joe Monk Date: Sat, 12 Oct 2024 01:55:18 +0100 Subject: [PATCH] Keep public --- Dockerfile | 7 +------ public/.keep | 0 2 files changed, 1 insertion(+), 6 deletions(-) create mode 100644 public/.keep diff --git a/Dockerfile b/Dockerfile index 4a2ad77..d3036b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,12 +17,7 @@ COPY . . ENV NEXT_TELEMETRY_DISABLED 1 -RUN \ - if [ -f yarn.lock ]; then yarn run build; \ - elif [ -f package-lock.json ]; then npm run build; \ - elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm run build; \ - else echo "Lockfile not found." && exit 1; \ - fi +RUN npm run build # Production image, copy all the files and run next FROM base AS runner diff --git a/public/.keep b/public/.keep new file mode 100644 index 0000000..e69de29