ccprojects commited on
Commit
6065443
·
verified ·
1 Parent(s): 94f62a9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -6
Dockerfile CHANGED
@@ -2,13 +2,10 @@ FROM node:21
2
 
3
  WORKDIR /app
4
 
5
- # Download and extract the repo
6
- COPY exocore-web.zip .
7
 
8
- RUN apt-get update && apt-get install -y unzip && \
9
- unzip exocore-web.zip && \
10
- mv exocore-web-main exocore-web && \
11
- chown -R node:node exocore-web && \
12
  chmod -R u+rwX exocore-web
13
 
14
  USER node
@@ -16,5 +13,7 @@ USER node
16
  WORKDIR /app/exocore-web
17
 
18
  RUN npm install
 
19
  EXPOSE 7860
 
20
  CMD ["npm", "start"]
 
2
 
3
  WORKDIR /app
4
 
5
+ RUN apt-get update && apt-get install -y git && \
6
+ git clone https://github.com/Exocore-Organization/exocore-web.git
7
 
8
+ RUN chown -R node:node exocore-web && \
 
 
 
9
  chmod -R u+rwX exocore-web
10
 
11
  USER node
 
13
  WORKDIR /app/exocore-web
14
 
15
  RUN npm install
16
+
17
  EXPOSE 7860
18
+
19
  CMD ["npm", "start"]