NikaMimi commited on
Commit
6c28940
·
verified ·
1 Parent(s): 7a095d2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -1,14 +1,12 @@
1
  FROM node:18-bullseye-slim
2
  RUN apt-get update && \
3
  apt-get install -y git
4
- RUN git clone https://gitgud.io/Nika/ai-pro.git /app
5
  WORKDIR /app
6
  RUN chown -R 1000:1000 /app
7
- USER 1000
8
  RUN npm install
9
  COPY Dockerfile greeting.md* .env* ./
10
  RUN npm run build
11
  EXPOSE 7860
12
  ENV NODE_ENV=production
13
- ENV NODE_OPTIONS="--max-old-space-size=12882"
14
- CMD [ "npm", "start" ]
 
1
  FROM node:18-bullseye-slim
2
  RUN apt-get update && \
3
  apt-get install -y git
4
+ RUN git clone https://gitlab.com/amiminoru/merkava.git /app
5
  WORKDIR /app
6
  RUN chown -R 1000:1000 /app
 
7
  RUN npm install
8
  COPY Dockerfile greeting.md* .env* ./
9
  RUN npm run build
10
  EXPOSE 7860
11
  ENV NODE_ENV=production
12
+ CMD [ "npm", "start" ]