chad/server/Dockerfile
Никита Круглицкий c0898d0df2
Some checks failed
Deploy / server (push) Successful in 4m5s
Deploy / client (push) Failing after 36s
#2, #3 update
2025-10-01 21:31:16 +06:00

14 lines
289 B
Docker

FROM node:22
WORKDIR /app
RUN corepack enable
COPY package.json yarn.lock ./
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
EXPOSE 80
RUN ls -la
CMD ["yarn", "node", "index.mjs"]