We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23f82b5 commit 4a2db82Copy full SHA for 4a2db82
Dockerfile.nginx
@@ -12,8 +12,6 @@ RUN mkdir libjwt/build
12
RUN cd libjwt/build && cmake ..
13
RUN cd libjwt/build && make && make install
14
15
-RUN mkdir -p /home/app/libs
16
-RUN cp /usr/lib/libjansson.so* /home/app/libs/
17
18
EXPOSE 8888
19
CMD ["openresty", "-g", "daemon off;"]
lib/resty/jwks_c.lua
@@ -33,6 +33,6 @@ jwk_set_t *jwks_create(const char *jwk_json_str);
33
const jwk_item_t *jwks_item_get(const jwk_set_t *jwk_set, size_t index);
34
]]
35
36
-local libjwt = ffi.load("/home/app/libjwt/build/libjwt.so.14.2.0");
+local libjwt = ffi.load("libjwt");
37
38
return libjwt
0 commit comments