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