chad/server/Dockerfile
Никита Круглицкий a030614032
Some checks failed
Deploy / server (push) Failing after 37s
#2 update
2025-10-01 19:15:21 +06:00

14 lines
279 B
Docker

FROM node:22-alpine
WORKDIR /app
RUN corepack enable
COPY package.json yarn.lock ./
RUN apk add --no-cache build-base python3
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
RUN yarn install
COPY . .
ENV PORT=80
EXPOSE 80
CMD ["node", "index.mjs"]