From 7a0b593f045fa068aeb2cbf92d8c6bbf055e2e0a Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Mon, 2 Mar 2026 12:56:23 +0700 Subject: [PATCH] fix: Add .docker/Dockerfile as explicit override for Easypanel - Create .docker/Dockerfile - This is a standard location that Easypanel recognizes - Overrides nixpacks auto-generation - Simple Astro build without Next.js caching --- dealplustech-astro/.docker/Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dealplustech-astro/.docker/Dockerfile diff --git a/dealplustech-astro/.docker/Dockerfile b/dealplustech-astro/.docker/Dockerfile new file mode 100644 index 000000000..9811ef4b7 --- /dev/null +++ b/dealplustech-astro/.docker/Dockerfile @@ -0,0 +1,14 @@ +# Astro Production Dockerfile +FROM node:20-alpine + +WORKDIR /app + +COPY package*.json ./ +RUN npm ci --omit=dev + +COPY . . +RUN npm run build + +EXPOSE 4321 + +CMD ["npm", "run", "preview", "--", "--host", "0.0.0.0", "--port", "4321"]