Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
| 4 |
-
RUN git clone -b Rel-17 https://github.com/jdegre/5GC_APIs
|
|
|
|
|
|
|
| 5 |
|
| 6 |
FROM nginx:latest as production-stage
|
| 7 |
COPY dist /etc/nginx/html
|
| 8 |
-
COPY --from=build-stage /app/
|
|
|
|
|
|
|
|
|
|
| 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 |
|