File size: 862 Bytes
851922f
f749e35
4803f0f
 
 
 
220ba30
f749e35
5e117a5
 
 
 
 
 
13c0db6
a02af46
3f4e993
 
7a2317e
356ad86
 
3c9610a
0fef4e8
356ad86
0fef4e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 nginxinc/nginx-unprivileged:alpine as production-stage
COPY dist /usr/share/nginx/html
COPY --from=build-stage /app/Rel-18 /usr/share/nginx/html/Rel-18
COPY --from=build-stage /app/Rel-17 /usr/share/nginx/html/Rel-17
COPY --from=build-stage /app/Rel-16 /usr/share/nginx/html/Rel-16
COPY --from=build-stage /app/Rel-15 /usr/share/nginx/html/Rel-15
RUN nginx -V
RUN cat /etc/nginx/nginx.conf

#RUN ls /etc/nginx/html

# COPY conf/nginx.conf /etc/nginx/nginx.conf
# RUN chmod -R 0755 /var/cache/nginx


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