Add Docker deployment files

This commit is contained in:
Neeldhara Misra 2026-07-06 00:33:00 +05:30
parent 69a5937ead
commit bb3bdda5f9
2 changed files with 21 additions and 0 deletions

6
.dockerignore Normal file
View file

@ -0,0 +1,6 @@
.astro
.git
dist
node_modules
npm-debug.log*
.DS_Store

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM node:24-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:1.29-alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80