Update: use port 80 with serve package

This commit is contained in:
Kunthawat Greethong
2026-03-03 23:36:45 +07:00
parent 7a64054475
commit 80e0c0406f
3 changed files with 853 additions and 2 deletions

View File

@@ -10,5 +10,5 @@ WORKDIR /app
COPY package*.json ./
RUN npm ci --production
COPY --from=builder /app/dist ./dist
EXPOSE 4321
CMD ["npx", "astro", "preview", "--host", "0.0.0.0", "--port", "4321"]
EXPOSE 80
CMD ["npx", "serve", "dist", "-l", "80"]