feat: add Dockerfile and docker-compose configuration for application setup

This commit is contained in:
2026-01-12 22:41:44 +03:00
parent 5b85cee125
commit 9e65d2f2d5
3 changed files with 50 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM node:24-alpine
RUN corepack enable && \
corepack prepare pnpm@latest --activate
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm run build
EXPOSE 3000
CMD ["node", "dist/server.js"]