Skip to content

Commit 7c7f4ec

Browse files
committed
build(docker): support wildcard allowed origin env
1 parent ff9efaa commit 7c7f4ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ WORKDIR /
99
RUN apk add --no-cache ca-certificates
1010
COPY --from=builder /workspace/openSGS-server /usr/local/bin/openSGS-server
1111
RUN chmod +x /usr/local/bin/openSGS-server
12-
CMD ["sh", "-c", "/usr/local/bin/openSGS-server --host=0.0.0.0 --port=$PORT --log-level=$LOG_LEVEL --allowed-origin=$SHORT_ALLOWED --allowed-origin=$LONG_ALLOWED"]
12+
CMD ["sh", "-c", "/usr/local/bin/openSGS-server --host=0.0.0.0 --port=$PORT --log-level=$LOG_LEVEL --allowed-origin=$SHORT_ALLOWED --allowed-origin=$LONG_ALLOWED --allowed-origin=$WILDCARD_ALLOWED"]

0 commit comments

Comments
 (0)