Spaces:
Sleeping
Sleeping
FROM ubuntu: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 | |
FROM nginx:latest as production-stage | |
COPY dist /etc/nginx/html | |
COPY --from=build-stage /app/rel-18 /etc/nginx/html/rel-18 | |
COPY conf/nginx.conf /etc/nginx/nginx.conf | |
RUN chmod -R 777 /var/cache/nginx | |
EXPOSE 8888 | |
CMD ["nginx", "-g", "daemon off;"] |