FROM node:alpine | |
RUN apt-get update && apt-get install -y git | |
RUN git clone https://github.com/Payhon/chatgpt-proxy.git | |
RUN mkdir -p /usr/src | |
WORKDIR /usr/src | |
COPY . /usr/src | |
RUN npm install | |
EXPOSE 3000 | |
CMD npm run start -- --port 3000 --host 0.0.0.0 |