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"]