nginx.Dockerfile 286 Bytes
Newer Older
1 2
ARG APP_IMAGE
FROM ${APP_IMAGE} as source
Jacob Priddy's avatar
Jacob Priddy committed
3
FROM nginx:1.19.6-alpine
Jacob Priddy's avatar
Jacob Priddy committed
4 5 6

WORKDIR /var/www

7
COPY --from=source /var/www ${WORKDIR}
Jacob Priddy's avatar
Jacob Priddy committed
8 9
COPY simplesamlphp-1.19.0-rc1/ ../simplesamlphp
COPY nginx/conf.d/prod.conf /etc/nginx/conf.d/prod.conf
Jacob Priddy's avatar
Jacob Priddy committed
10
COPY nginx/dhparam/ /run/dhparam
11
RUN rm -rf backend/.env