MrFrank2 commited on
Commit
ed8b999
·
verified ·
1 Parent(s): 8d01f57

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -12
Dockerfile CHANGED
@@ -1,24 +1,14 @@
1
  FROM node:lts-buster
2
  USER root
3
-
4
  RUN apt-get update && \
5
  apt-get install -y ffmpeg webp git && \
6
  apt-get upgrade -y && \
7
  rm -rf /var/lib/apt/lists/*
8
-
9
  USER node
10
-
11
- RUN --mount=type=secret,id=MR_FRANK,mode=0444,required=true \
12
- git clone https://$(cat /run/secrets/MR_FRANK)@github.com/xeonser/SUBZERO.git /home/node/SUBZERO
13
-
14
  WORKDIR /home/node/SUBZERO
15
-
16
- RUN chmod -R 777 /home/node/SUBZERO
17
-
18
  RUN yarn install --network-concurrency 1
19
-
20
  EXPOSE 7860
21
-
22
  ENV NODE_ENV=production
23
-
24
  CMD ["npm", "start"]
 
1
  FROM node:lts-buster
2
  USER root
 
3
  RUN apt-get update && \
4
  apt-get install -y ffmpeg webp git && \
5
  apt-get upgrade -y && \
6
  rm -rf /var/lib/apt/lists/*
 
7
  USER node
8
+ RUN git clone https://github.com/xeonser/SUBZERO /home/node/SUBZERO
 
 
 
9
  WORKDIR /home/node/SUBZERO
10
+ RUN chmod -R 777 /home/node/SUBZERO/
 
 
11
  RUN yarn install --network-concurrency 1
 
12
  EXPOSE 7860
 
13
  ENV NODE_ENV=production
 
14
  CMD ["npm", "start"]