Spaces:
Paused
Paused
File size: 425 Bytes
5999c05 6a8f453 f6b3e93 5999c05 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
FROM node:18-bullseye-slim
RUN apt-get update && \
apt-get install -y git
RUN git clone https://gitgud.io/OrdumsNevus/Seclvr.git /app
WORKDIR /app
RUN chown -R 1000:1000 /app
USER 1000
RUN npm install
COPY Dockerfile greeting.md* .env* ./
RUN npm run build
EXPOSE 7860
ENV NODE_ENV=production
# Huggigface free VMs have 16GB of RAM so we can be greedy
ENV NODE_OPTIONS="--max-old-space-size=12882"
CMD [ "npm", "start" ] |