Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -6,8 +6,8 @@ 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 |
|
| 9 |
-
FROM
|
| 10 |
-
|
| 11 |
COPY dist /usr/share/nginx/html
|
| 12 |
COPY --from=build-stage /app/Rel-18 /usr/share/nginx/html/Rel-18
|
| 13 |
COPY --from=build-stage /app/Rel-17 /usr/share/nginx/html/Rel-17
|
|
@@ -22,5 +22,5 @@ RUN ls /usr/share/nginx/html
|
|
| 22 |
# RUN chmod -R 0755 /var/cache/nginx
|
| 23 |
|
| 24 |
|
| 25 |
-
EXPOSE
|
| 26 |
CMD ["nginx", "-g", "daemon off;"]
|
|
|
|
| 6 |
RUN git clone -b Rel-17 https://github.com/jdegre/5GC_APIs Rel-15
|
| 7 |
|
| 8 |
|
| 9 |
+
FROM nginxinc/nginx-unprivileged:alpine-slim as production-stage
|
| 10 |
+
|
| 11 |
COPY dist /usr/share/nginx/html
|
| 12 |
COPY --from=build-stage /app/Rel-18 /usr/share/nginx/html/Rel-18
|
| 13 |
COPY --from=build-stage /app/Rel-17 /usr/share/nginx/html/Rel-17
|
|
|
|
| 22 |
# RUN chmod -R 0755 /var/cache/nginx
|
| 23 |
|
| 24 |
|
| 25 |
+
EXPOSE 8080
|
| 26 |
CMD ["nginx", "-g", "daemon off;"]
|