reka-proxy / Dockerfile
adasdasdasdas's picture
Create Dockerfile
22f7d39 verified
raw
history blame contribute delete
No virus
378 Bytes
FROM node:18-bullseye-slim
RUN apt-get update && \
apt-get install -y git
RUN git clone https://github.com/bmwm3gtrntrrazor/reka-proxy.git /app
WORKDIR /app
RUN chown -R 1000:1000 /app
USER 1000
RUN npm install
COPY Dockerfile greeting.md* .env* ./
RUN npx tsc
EXPOSE 7860
ENV NODE_ENV=production
ENV NODE_OPTIONS="--max-old-space-size=12882"
CMD [ "node", "dist/index.js" ]