From 8646777f8d9b920aeb76b40892735e85c8a0ce2a Mon Sep 17 00:00:00 2001 From: Marko Djordjevic Date: Thu, 12 Feb 2026 15:21:01 +0100 Subject: [PATCH] fix: create public directory and simplify Dockerfile COPY logic --- Dockerfile | 4 +--- public/.gitkeep | 0 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 public/.gitkeep diff --git a/Dockerfile b/Dockerfile index 5ce6e12..98dae8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,9 +22,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static -COPY --from=builder --chown=nextjs:nodejs /app/public ./public - -RUN mkdir -p /app/data && chown nextjs:nodejs /app/data +RUN mkdir -p /app/public /app/data && chown -R nextjs:nodejs /app/public /app/data ENV NODE_ENV=production PORT=3000 HOSTNAME=0.0.0.0 diff --git a/public/.gitkeep b/public/.gitkeep new file mode 100644 index 0000000..e69de29