Skip to content

Commit

Permalink
Fix docker file to take WS_ENDPOINT
Browse files Browse the repository at this point in the history
  • Loading branch information
yarkinwho committed Dec 8, 2023
1 parent ff5e012 commit 54c9450
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions peripherals/proxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54c9450

Please sign in to comment.