From 54c945045e2edf0956e2f89b0bab30333ad6faf9 Mon Sep 17 00:00:00 2001 From: yarkin Date: Fri, 8 Dec 2023 22:37:33 +0800 Subject: [PATCH] Fix docker file to take WS_ENDPOINT --- peripherals/proxy/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/peripherals/proxy/Dockerfile b/peripherals/proxy/Dockerfile index 1ab2a8b..371bceb 100644 --- a/peripherals/proxy/Dockerfile +++ b/peripherals/proxy/Dockerfile @@ -2,6 +2,7 @@ FROM openresty/openresty:alpine ARG WRITE_ENDPOINT ARG READ_ENDPOINT ARG TEST_ENDPOINT +ARG WS_ENDPOINT COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf RUN sed -i "s/WRITE_ENDPOINT/${WRITE_ENDPOINT}/g" /usr/local/openresty/nginx/conf/nginx.conf RUN sed -i "s/READ_ENDPOINT/${READ_ENDPOINT}/g" /usr/local/openresty/nginx/conf/nginx.conf