add docker files

This commit is contained in:
2025-07-07 02:06:26 +05:30
parent 5f25b81b35
commit cf0643c207
5 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,5 @@
node_modules
.git
.dockerignore
Dockerfile
.env

View File

@ -0,0 +1,16 @@
# Use Node 23.10
FROM node:23.10
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
# Serve using static server
RUN npm install -g serve
EXPOSE 3000
CMD ["serve", "-s", "dist", "-l", "3000"]