feat: remove ssl cert.

This commit is contained in:
a.bouhuolia
2021-09-21 14:54:46 +02:00
parent 6da12f679d
commit bace10d8c6
10 changed files with 3 additions and 284 deletions

View File

@@ -3,14 +3,10 @@ FROM node:14.15.0 as build
USER root
ARG WEB_REVERSE_PROXY_PORT=8000
ARG WEB_SSL=false
ARG SELF_SIGNED=false
ARG NO_DEFAULT=false
ARG REACT_APP_SERVICES_HOST=/services/m
ENV WEB_REVERSE_PROXY_PORT=$WEB_REVERSE_PROXY_PORT
ENV WEB_SSL=$WEB_SSL
ENV SELF_SIGNED=$SELF_SIGNED
ENV NO_DEFAULT=$NO_DEFAULT
WORKDIR /app
@@ -28,9 +24,7 @@ FROM nginx
COPY nginx/sites /etc/nginx/templates
COPY ./nginx/scripts /root/scripts/
COPY nginx/certs /etc/ssl/
# COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
RUN /bin/bash /root/scripts/nginx-build.sh
COPY --from=build ./build /usr/share/nginx/html
COPY --from=build /app/build /usr/share/nginx/html