ShawnAI commited on
Commit
4803f0f
1 Parent(s): b171759

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -3
Dockerfile CHANGED
@@ -1,11 +1,16 @@
1
  FROM node:latest as build-stage
2
  WORKDIR /app
3
- RUN git clone -b Rel-18 https://github.com/jdegre/5GC_APIs rel-18
4
- RUN git clone -b Rel-17 https://github.com/jdegre/5GC_APIs rel-17
 
 
5
 
6
  FROM nginx:latest as production-stage
7
  COPY dist /etc/nginx/html
8
- COPY --from=build-stage /app/rel-18 /etc/nginx/html/rel-18
 
 
 
9
  COPY conf/nginx.conf /etc/nginx/nginx.conf
10
  RUN chmod -R 777 /var/cache/nginx
11
 
 
1
  FROM node:latest as build-stage
2
  WORKDIR /app
3
+ RUN git clone -b Rel-18 https://github.com/jdegre/5GC_APIs Rel-18
4
+ RUN git clone -b Rel-17 https://github.com/jdegre/5GC_APIs Rel-17
5
+ RUN git clone -b Rel-17 https://github.com/jdegre/5GC_APIs Rel-16
6
+ RUN git clone -b Rel-17 https://github.com/jdegre/5GC_APIs Rel-15
7
 
8
  FROM nginx:latest as production-stage
9
  COPY dist /etc/nginx/html
10
+ COPY --from=build-stage /app/Rel-18 /etc/nginx/html/Rel-18
11
+ COPY --from=build-stage /app/Rel-17 /etc/nginx/html/Rel-17
12
+ COPY --from=build-stage /app/Rel-16 /etc/nginx/html/Rel-16
13
+ COPY --from=build-stage /app/Rel-15 /etc/nginx/html/Rel-15
14
  COPY conf/nginx.conf /etc/nginx/nginx.conf
15
  RUN chmod -R 777 /var/cache/nginx
16