Files
2023-07-19 11:19:04 -05:00

13 lines
421 B
Docker

FROM node:18-bullseye
RUN apt-get update && \
apt-get install -y git python3 python3-pip libzmq3-dev curl cmake g++ libsodium-dev pkg-config
RUN git clone https://gitgud.io/khanon/oai-reverse-proxy.git /app
WORKDIR /app
RUN pip3 install --no-cache-dir -r requirements.txt
RUN npm ci --loglevel=verbose
COPY Dockerfile greeting.md* .env* ./
RUN npm run build
EXPOSE 7860
ENV NODE_ENV=production
CMD [ "npm", "start" ]