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

15 lines
314 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 ln -sf python3 /usr/bin/python
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"]