blob: 716a52ef68a4f071550f6c9dfbfc7b8f204fa530 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
FROM ubuntu:18.04 AS build-env
WORKDIR /build
RUN apt-get update && apt-get install -y jq
COPY packages.json ./
COPY split.sh ./
RUN /build/split.sh
FROM nginx:mainline-alpine
COPY --from=build-env --chown=nginx:nginx /build/packages /build/packages.json /usr/share/nginx/html/api/
CMD ["nginx", "-g", "daemon off;"]
|