ShawnAI commited on
Commit
880c6ed
·
verified ·
1 Parent(s): ca9a225

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 pyouthful/docker-nginx-unprivileged:latest as production-stage
10
- ENV NGINX_PORT=8081
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 8081
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;"]