chore: add Dockerfile

This commit is contained in:
Konstantin Zhigaylo 2025-06-23 22:17:31 +03:00
parent 3b27e15421
commit 618c0bbc98
No known key found for this signature in database
GPG Key ID: DD1C2780F0E05B5C

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM node:24-alpine
RUN corepack enable pnpm && corepack install -g pnpm@latest
WORKDIR /app
COPY pnpm-lock.yaml package.json ./
RUN pnpm install
COPY . .
RUN pnpm build
EXPOSE 8085
CMD ["pnpm", "start", "--port", "8085"]