yjs-backend/Dockerfile
Круглицкий Никита Витальевич 3a2682aaff
All checks were successful
Deploy / build (push) Successful in 35s
deploy
2025-11-20 21:42:26 +06:00

12 lines
213 B
Docker

FROM node:22-alpine AS build
WORKDIR /app
RUN corepack enable
COPY package.json yarn.lock ./
RUN yarn config set nodeLinker node-modules
RUN yarn install
COPY . .
EXPOSE 80
ENV PORT=80
CMD ["npx", "y-websocket"]