mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
feat: remove ssl cert.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user