Initial Astro redesign for MoreminiMore

This commit is contained in:
Kunthawat Greethong
2026-07-18 11:48:33 +07:00
commit 491bf7b3be
13 changed files with 6681 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# Build the static Astro site
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
# Serve static files with a small, unprivileged web server
FROM nginxinc/nginx-unprivileged:1.27-alpine AS production
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"]