chad/server/Dockerfile
Никита Круглицкий 5cdf7f13a6
All checks were successful
Deploy / deploy (push) Successful in 20s
#2 update
2025-10-02 03:16:25 +06:00

15 lines
322 B
Docker

FROM node:22
WORKDIR /app
RUN corepack enable
COPY package.json yarn.lock .yarnrc.yml ./
RUN apt update && apt install --yes python3 python3-pip build-essential
RUN yarn set version latest
RUN yarn install --frozen-lockfile
COPY . .
ENV PORT=80
ENV DEBUG=mediasoup*
EXPOSE 80
RUN ls -la
CMD ["yarn", "node", "index.mjs"]