feat: init vlc-sender

This commit is contained in:
Vadim Sobinin
2026-02-06 16:53:11 +03:00
commit e3f95c53d7
11 changed files with 1524 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM node:22-alpine AS builder
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
COPY tsconfig.json ./
COPY src ./src
RUN yarn build
FROM node:22-alpine
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile --production
COPY --from=builder /app/dist ./dist
COPY src/public ./dist/public
EXPOSE 3000
CMD ["node", "dist/index.js"]