File size: 758 Bytes
851922f
f749e35
4803f0f
 
 
 
f749e35
0fef4e8
35211ba
4803f0f
 
 
 
4d698ba
0fef4e8
 
3c9610a
0fef4e8
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM node:latest as build-stage
WORKDIR /app
RUN git clone -b Rel-18 https://github.com/jdegre/5GC_APIs Rel-18
RUN git clone -b Rel-17 https://github.com/jdegre/5GC_APIs Rel-17
RUN git clone -b Rel-17 https://github.com/jdegre/5GC_APIs Rel-16
RUN git clone -b Rel-17 https://github.com/jdegre/5GC_APIs Rel-15

FROM nginx:latest as production-stage
COPY dist /etc/nginx/html
COPY --from=build-stage /app/Rel-18 /etc/nginx/html/Rel-18
COPY --from=build-stage /app/Rel-17 /etc/nginx/html/Rel-17
COPY --from=build-stage /app/Rel-16 /etc/nginx/html/Rel-16
COPY --from=build-stage /app/Rel-15 /etc/nginx/html/Rel-15
RUN ls /etc/nginx/html
COPY conf/nginx.conf /etc/nginx/nginx.conf
RUN chmod -R 777 /var/cache/nginx


EXPOSE 8888
CMD ["nginx", "-g", "daemon off;"]